mirror of
https://github.com/Garmelon/PFERD.git
synced 2026-04-12 23:45:05 +02:00
Fix video stream extraction
This commit is contained in:
parent
eac2e34161
commit
a99356f2a2
1 changed files with 1 additions and 1 deletions
|
|
@ -133,7 +133,7 @@ class IliasPage:
|
|||
|
||||
# parse it
|
||||
json_object = json.loads(json_str)
|
||||
streams = [stream for stream in json_object["streams"] if stream["type"] == "video"]
|
||||
streams = [stream for stream in json_object["streams"]]
|
||||
|
||||
# and just fetch the lone video url!
|
||||
if len(streams) == 1:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue