mirror of
https://github.com/ytdl-org/youtube-dl.git
synced 2024-09-08 09:35:01 +00:00
[arte] PEP 8
This commit is contained in:
parent
08d65046f0
commit
e725e4bced
|
@ -115,7 +115,7 @@ class ArteTVPlus7IE(InfoExtractor):
|
||||||
r'program\s*:\s*({.+?["\']embed_html["\'].+?}),?\s*\n',
|
r'program\s*:\s*({.+?["\']embed_html["\'].+?}),?\s*\n',
|
||||||
webpage, 'program'),
|
webpage, 'program'),
|
||||||
video_id)['embed_html']
|
video_id)['embed_html']
|
||||||
iframe_url= find_iframe_url(embed_html)
|
iframe_url = find_iframe_url(embed_html)
|
||||||
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 a new issue