X-Git-Url: http://git.bitcoin.ninja/index.cgi?a=blobdiff_plain;f=youtube_dl%2Fextractor%2Faudimedia.py;h=b0b089dee47b3fefcd323ce5b4453709ae687ec5;hb=6c7b26e13f1aebe7bd19a7899b01e49b052febe5;hp=cad5035100578deeca8507dbf776186d1a0ac915;hpb=527ca1da4f778c5ad13ff3c74a8d311adb9aaff3;p=youtube-dl 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']+class="amtv-embed"[^>]+id="([^"]+)"', webpage, 'raw payload'); + + raw_payload = self._search_regex(r']+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)