aboutsummaryrefslogtreecommitdiff
path: root/youtube_dl/extractor/rtlnl.py
diff options
context:
space:
mode:
authorSergey M․ <dstftw@gmail.com>2015-07-23 23:20:24 +0600
committerSergey M․ <dstftw@gmail.com>2015-07-23 23:20:24 +0600
commita9e8f60ef686eeeb3d31f2e5211ce176dc8f5298 (patch)
treef09fb85e89ec8c15706fcb73e7d17be0aa12f043 /youtube_dl/extractor/rtlnl.py
parenta8b7b26068fa8de9983ffef995ea6cd4fd3ce90a (diff)
[rtlnl] Update unencrypted streams comment (#6337)
Diffstat (limited to 'youtube_dl/extractor/rtlnl.py')
-rw-r--r--youtube_dl/extractor/rtlnl.py13
1 files changed, 9 insertions, 4 deletions
diff --git a/youtube_dl/extractor/rtlnl.py b/youtube_dl/extractor/rtlnl.py
index 518f7a7b4..543d94417 100644
--- a/youtube_dl/extractor/rtlnl.py
+++ b/youtube_dl/extractor/rtlnl.py
@@ -82,10 +82,15 @@ class RtlNlIE(InfoExtractor):
meta = info.get('meta', {})
- # Use unencrypted m3u8 streams (See https://github.com/rg3/youtube-dl/issues/4118)
- # 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.
+ # m3u8 streams are encrypted and may not be handled properly by older ffmpeg/avconv.
+ # To workaround this previously adaptive -> flash trick was used to obtain
+ # unencrypted m3u8 streams (see https://github.com/rg3/youtube-dl/issues/4118)
+ # and bypass georestrictions as well.
+ # Currently, unencrypted m3u8 playlists are (intentionally?) invalid and therefore
+ # unusable albeit can be fixed by simple string replacement (see
+ # https://github.com/rg3/youtube-dl/pull/6337)
+ # Since recent ffmpeg and avconv handle encrypted streams just fine encrypted
+ # streams are used now.
videopath = material['videopath']
m3u8_url = meta.get('videohost', 'http://manifest.us.rtl.nl') + videopath