[audimedia] flake8
authorremitamine <remitamine@gmail.com>
Thu, 3 Dec 2015 21:25:08 +0000 (22:25 +0100)
committerremitamine <remitamine@gmail.com>
Thu, 3 Dec 2015 21:25:08 +0000 (22:25 +0100)
youtube_dl/extractor/audimedia.py

index cad5035100578deeca8507dbf776186d1a0ac915..b0b089dee47b3fefcd323ce5b4453709ae687ec5 100644 (file)
@@ -31,8 +31,8 @@ class AudiMediaIE(InfoExtractor):
     def _real_extract(self, url):
         display_id = self._match_id(url)
         webpage = self._download_webpage(url, display_id)
-        
-        raw_payload = self._search_regex(r'<script[^>]+class="amtv-embed"[^>]+id="([^"]+)"', webpage, 'raw payload');
+
+        raw_payload = self._search_regex(r'<script[^>]+class="amtv-embed"[^>]+id="([^"]+)"', webpage, 'raw payload')
         _, stage_mode, video_id, lang = raw_payload.split('-')
 
         # TODO: handle s and e stage_mode (live streams and ended live streams)