projects
/
youtube-dl
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
89d42c2
)
[rtlnl] Clarify current adaptive -> flash workaround rationale
author
Sergey M․
<dstftw@gmail.com>
Sun, 5 Jul 2015 22:16:56 +0000
(
04:16
+0600)
committer
Sergey M․
<dstftw@gmail.com>
Sun, 5 Jul 2015 22:16:56 +0000
(
04:16
+0600)
youtube_dl/extractor/rtlnl.py
patch
|
blob
|
history
diff --git
a/youtube_dl/extractor/rtlnl.py
b/youtube_dl/extractor/rtlnl.py
index 1228245ad036fe6049de2f72ee4e76f6f80f91ef..a4d3d73ff78a4bd1ac59866b3159c804844b77ae 100644
(file)
--- 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)
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
videopath = material['videopath'].replace('/adaptive/', '/flash/')
m3u8_url = meta.get('videohost', 'http://manifest.us.rtl.nl') + videopath