mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2025-03-09 12:50:23 -05:00
Update yt_dlp/extractor/azmedien.py
Co-authored-by: bashonly <88596187+bashonly@users.noreply.github.com>
This commit is contained in:
parent
c5f5f3dcc4
commit
12d1138ef1
1 changed files with 1 additions and 2 deletions
|
@ -57,8 +57,7 @@ def _real_extract(self, url):
|
||||||
if not entry_id:
|
if not entry_id:
|
||||||
webpage = self._download_webpage(url, display_id)
|
webpage = self._download_webpage(url, display_id)
|
||||||
data = self._search_json(
|
data = self._search_json(
|
||||||
r'window\.__APOLLO_STATE__\s*=', webpage, 'video data',
|
r'window\.__APOLLO_STATE__\s*=', webpage, 'video data', display_id)
|
||||||
display_id)
|
|
||||||
entry_id = traverse_obj(data, (
|
entry_id = traverse_obj(data, (
|
||||||
lambda _, v: v.get('__typename') == 'KalturaData',
|
lambda _, v: v.get('__typename') == 'KalturaData',
|
||||||
'kalturaId',
|
'kalturaId',
|
||||||
|
|
Loading…
Reference in a new issue