aboutsummaryrefslogtreecommitdiffhomepage
path: root/youtube_dl/extractor/rtlnl.py
diff options
context:
space:
mode:
authorSergey M․ <[email protected]>2015-07-06 04:16:56 +0600
committerSergey M․ <[email protected]>2015-07-06 04:16:56 +0600
commit0c20ee7d4b0c98221c71769482980a0a218dadb4 (patch)
treeb0b746a6cfa795b9441fd942a6de9ef0e8ee3b45 /youtube_dl/extractor/rtlnl.py
parent89d42c2c758a3cb06b71145c24bfe8057419295a (diff)
downloadyoutube-dl-0c20ee7d4b0c98221c71769482980a0a218dadb4.tar.gz
youtube-dl-0c20ee7d4b0c98221c71769482980a0a218dadb4.zip
[rtlnl] Clarify current adaptive -> flash workaround rationale
Diffstat (limited to 'youtube_dl/extractor/rtlnl.py')
-rw-r--r--youtube_dl/extractor/rtlnl.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/youtube_dl/extractor/rtlnl.py b/youtube_dl/extractor/rtlnl.py
index 1228245ad..a4d3d73ff 100644
--- a/youtube_dl/extractor/rtlnl.py
+++ b/youtube_dl/extractor/rtlnl.py
@@ -66,6 +66,9 @@ 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.
videopath = material['videopath'].replace('/adaptive/', '/flash/')
m3u8_url = meta.get('videohost', 'http://manifest.us.rtl.nl') + videopath