mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2024-11-04 08:29:57 +01:00
[arte:+7] Fix typo
This commit is contained in:
parent
393ca8c94d
commit
5e39123b3b
@ -85,7 +85,7 @@ def _extract_from_webpage(self, webpage, video_id, lang):
|
|||||||
if not json_url:
|
if not json_url:
|
||||||
iframe_url = self._html_search_regex(
|
iframe_url = self._html_search_regex(
|
||||||
r'<iframe[^>]+src=(["\'])(?P<url>.+\bjson_url=.+?)\1',
|
r'<iframe[^>]+src=(["\'])(?P<url>.+\bjson_url=.+?)\1',
|
||||||
webpage, 'iframe url', group='iframe url')
|
webpage, 'iframe url', group='url')
|
||||||
json_url = compat_parse_qs(
|
json_url = compat_parse_qs(
|
||||||
compat_urllib_parse_urlparse(iframe_url).query)['json_url'][0]
|
compat_urllib_parse_urlparse(iframe_url).query)['json_url'][0]
|
||||||
return self._extract_from_json_url(json_url, video_id, lang)
|
return self._extract_from_json_url(json_url, video_id, lang)
|
||||||
|
Loading…
Reference in New Issue
Block a user