aboutsummaryrefslogtreecommitdiff
path: root/youtube_dl/extractor
diff options
context:
space:
mode:
authorSergey M․ <dstftw@gmail.com>2015-07-05 18:07:39 +0600
committerSergey M․ <dstftw@gmail.com>2015-07-05 18:07:39 +0600
commitf7c272d4fa9cdb6212e8716e813f5d55a16137a2 (patch)
tree0e4568e0e263dd9dff7a242db1b2399663c4c2e0 /youtube_dl/extractor
parentede21449c8d87c2d000d16e5102ee85d87a9b14e (diff)
parentbea41c7f3fa4f9072ad2f5354938ab1c8cef0a6d (diff)
Merge branch 'patch-1' of https://github.com/corone17/youtube-dl into corone17-patch-1
Diffstat (limited to 'youtube_dl/extractor')
-rw-r--r--youtube_dl/extractor/rtlnl.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/youtube_dl/extractor/rtlnl.py b/youtube_dl/extractor/rtlnl.py
index 41d202c28..e708e0093 100644
--- a/youtube_dl/extractor/rtlnl.py
+++ b/youtube_dl/extractor/rtlnl.py
@@ -51,7 +51,7 @@ class RtlNlIE(InfoExtractor):
def _real_extract(self, url):
uuid = self._match_id(url)
info = self._download_json(
- 'http://www.rtl.nl/system/s4m/vfd/version=2/uuid=%s/fmt=flash/' % uuid,
+ 'http://www.rtl.nl/system/s4m/vfd/version=2/uuid=%s/fmt=adaptive/' % uuid,
uuid)
material = info['material'][0]
@@ -60,8 +60,8 @@ class RtlNlIE(InfoExtractor):
description = material.get('synopsis') or info['episodes'][0]['synopsis']
# Use unencrypted m3u8 streams (See https://github.com/rg3/youtube-dl/issues/4118)
- videopath = material['videopath'].replace('.f4m', '.m3u8')
- m3u8_url = 'http://manifest.us.rtl.nl' + videopath
+ videopath = material['videopath'].replace('adaptive', 'flash')
+ m3u8_url = info['meta']['videohost'] + videopath
formats = self._extract_m3u8_formats(m3u8_url, uuid, ext='mp4')