mirror of
https://github.com/l1ving/youtube-dl
synced 2020-11-18 19:53:54 -08:00
Fix JSON as on 27.11.2018
This commit is contained in:
parent
d19600df07
commit
206e71d0b4
@ -75,7 +75,7 @@ class HotStarIE(HotStarBaseIE):
|
||||
webpage, 'app state'), video_id)
|
||||
video_data = {}
|
||||
for v in app_state.values():
|
||||
content = try_get(v, lambda x: x['initialState']['contentData']['content'], dict)
|
||||
content = try_get(v, lambda x: x['initialState']['contentDetail']['content'], dict)
|
||||
if content and content.get('contentId') == video_id:
|
||||
video_data = content
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user