[rtlxl] Strip additional dot from video URL (#4115)
authorNaglis Jonaitis <njonaitis@gmail.com>
Sun, 23 Nov 2014 11:28:09 +0000 (13:28 +0200)
committerNaglis Jonaitis <njonaitis@gmail.com>
Sun, 23 Nov 2014 11:28:09 +0000 (13:28 +0200)
youtube_dl/extractor/rtlnl.py

index 4a188e5d46304ab8059d646cea667edc86cf7cb4..d029b0ec525fc2e1186aba7e1c3dadf9bed981b0 100644 (file)
@@ -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([