1
0
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:
Shrimadhav U K 2018-11-27 23:23:47 +05:30 committed by GitHub
parent d19600df07
commit 206e71d0b4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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