diff options
author | remitamine <remitamine@gmail.com> | 2015-12-03 22:25:08 +0100 |
---|---|---|
committer | remitamine <remitamine@gmail.com> | 2015-12-03 22:25:08 +0100 |
commit | e5b4225f7c891c4971fe5acdf20459594d5ff9c2 (patch) | |
tree | 198cd7f64d1f1e26cd6d8b78d06801b31fa037ec | |
parent | b2ca35ddbcd29b737075c6e2b270c925da2d306d (diff) |
[audimedia] flake8
-rw-r--r-- | youtube_dl/extractor/audimedia.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/youtube_dl/extractor/audimedia.py b/youtube_dl/extractor/audimedia.py index cad503510..b0b089dee 100644 --- a/youtube_dl/extractor/audimedia.py +++ b/youtube_dl/extractor/audimedia.py @@ -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) |