X-Git-Url: http://git.bitcoin.ninja/index.cgi?a=blobdiff_plain;f=youtube_dl%2Fextractor%2Frtlnl.py;fp=youtube_dl%2Fextractor%2Frtlnl.py;h=518f7a7b4b5076f54c3a5f51f2779bceff6e4149;hb=a8b7b26068fa8de9983ffef995ea6cd4fd3ce90a;hp=e0c530d64a97500eaa1b653599f92c9420518c77;hpb=ba911137fa53737b663cb2879d357bc8a35ab558;p=youtube-dl diff --git a/youtube_dl/extractor/rtlnl.py b/youtube_dl/extractor/rtlnl.py index e0c530d64..518f7a7b4 100644 --- a/youtube_dl/extractor/rtlnl.py +++ b/youtube_dl/extractor/rtlnl.py @@ -86,12 +86,12 @@ class RtlNlIE(InfoExtractor): # NB: nowadays, recent ffmpeg and avconv can handle these encrypted streams, so # this adaptive -> flash workaround is not required in general, but it also # allows bypassing georestriction therefore is retained for now. - videopath = material['videopath'].replace('/adaptive/', '/flash/') + videopath = material['videopath'] m3u8_url = meta.get('videohost', 'http://manifest.us.rtl.nl') + videopath formats = self._extract_m3u8_formats(m3u8_url, uuid, ext='mp4') - video_urlpart = videopath.split('/flash/')[1][:-5] + video_urlpart = videopath.split('/adaptive/')[1][:-5] PG_URL_TEMPLATE = 'http://pg.us.rtl.nl/rtlxl/network/%s/progressive/%s.mp4' formats.extend([