From: Sergey M․ Date: Sun, 21 Feb 2016 19:32:23 +0000 (+0600) Subject: [arte] PEP 8 X-Git-Url: https://git.cielonegro.org/gitweb.cgi?a=commitdiff_plain;h=1d00a8823e930bfb092c65ec65aa37e32a1ecf5a;p=youtube-dl.git [arte] PEP 8 --- diff --git a/youtube_dl/extractor/arte.py b/youtube_dl/extractor/arte.py index 47840cad0..efde7e207 100644 --- a/youtube_dl/extractor/arte.py +++ b/youtube_dl/extractor/arte.py @@ -114,7 +114,7 @@ class ArteTVPlus7IE(InfoExtractor): r'program\s*:\s*({.+?["\']embed_html["\'].+?}),?\s*\n', webpage, 'program', default=None) if program: - embed_html = self._parse_json(program,video_id) + embed_html = self._parse_json(program, video_id) if embed_html: iframe_url = find_iframe_url(embed_html['embed_html']) if iframe_url: @@ -129,7 +129,6 @@ class ArteTVPlus7IE(InfoExtractor): webpage, 'embed url', group='url') return self.url_result(embed_url) - def _extract_from_json_url(self, json_url, video_id, lang): info = self._download_json(json_url, video_id) player_info = info['videoJsonPlayer']