Skip to content

Commit 5f5c41c

Browse files
committed
Fix for changes to movie in FetchedApp
1 parent 4b94c09 commit 5f5c41c

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

steam/app.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1682,7 +1682,7 @@ def __init__(self, state: ConnectionState, movie: dict[str, Any]):
16821682
self._state = state
16831683
self.name: str = movie["name"]
16841684
self.id: int = movie["id"]
1685-
self.url: ReadOnly[str] = movie["mp4"]["max"]
1685+
self.url: ReadOnly[str] = movie.get("dash_av1") or movie.get("dash_h264") or movie.get("hls_h264") or ""
16861686
match = re.search(r"t=(\d+)", self.url) # type: ignore # should become unnecessary at some point
16871687
self.created_at = DateTime.from_timestamp(int(match[1])) if match else None
16881688

0 commit comments

Comments
 (0)