1
0
mirror of https://codeberg.org/polarisfm/youtube-dl synced 2024-11-29 19:47:54 +01:00

[arte] PEP 8

This commit is contained in:
Sergey M․ 2016-02-17 22:37:55 +06:00
parent 08d65046f0
commit e725e4bced

View File

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