summary refs log tree commit diff
diff options
context:
space:
mode:
authorNaglis Jonaitis <njonaitis@gmail.com>2014-11-23 13:28:09 +0200
committerNaglis Jonaitis <njonaitis@gmail.com>2014-11-23 13:28:09 +0200
commit4698b14b768e099955c58e2dc2ee458e390dcbd7 (patch)
tree44ed94db1c72ea7f7203416094ad30835cf95fcf
parent835a22ef3fc4f8f5b6a414a870561f6492a51de4 (diff)
downloadyoutube-dl-4698b14b768e099955c58e2dc2ee458e390dcbd7.tar.gz
youtube-dl-4698b14b768e099955c58e2dc2ee458e390dcbd7.tar.xz
youtube-dl-4698b14b768e099955c58e2dc2ee458e390dcbd7.zip
[rtlxl] Strip additional dot from video URL (#4115)
-rw-r--r--youtube_dl/extractor/rtlnl.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/youtube_dl/extractor/rtlnl.py b/youtube_dl/extractor/rtlnl.py
index 4a188e5d4..d029b0ec5 100644
--- a/youtube_dl/extractor/rtlnl.py
+++ b/youtube_dl/extractor/rtlnl.py
@@ -44,7 +44,7 @@ class RtlXlIE(InfoExtractor):
 
         formats = self._extract_m3u8_formats(m3u8_url, uuid, ext='mp4')
 
-        video_urlpart = videopath.split('/flash/')[1][:-4]
+        video_urlpart = videopath.split('/flash/')[1][:-5]
         PG_URL_TEMPLATE = 'http://pg.us.rtl.nl/rtlxl/network/%s/progressive/%s.mp4'
 
         formats.extend([