X-Git-Url: http://git.cielonegro.org/gitweb.cgi?a=blobdiff_plain;f=youtube_dl%2Fextractor%2Frtve.py;h=34f9c4a991263572d935a2bfc79194f8594ecb78;hb=8991844ea260a17943e935acfd5565caab27a99e;hp=05becc92b43fb1bf2d226954603a856183ea0d87;hpb=bb9f3bfedf5d11d8f246654a5e67708edc01c30d;p=youtube-dl.git diff --git a/youtube_dl/extractor/rtve.py b/youtube_dl/extractor/rtve.py index 05becc92b..34f9c4a99 100644 --- a/youtube_dl/extractor/rtve.py +++ b/youtube_dl/extractor/rtve.py @@ -113,9 +113,9 @@ class RTVEALaCartaIE(InfoExtractor): png = self._download_webpage(png_request, video_id, 'Downloading url information') video_url = _decrypt_url(png) if not video_url.endswith('.f4m'): - video_url = video_url.replace( - 'resources/', 'auth/resources/' - ).replace('.net.rtve', '.multimedia.cdn.rtve') + if '?' not in video_url: + video_url = video_url.replace('resources/', 'auth/resources/') + video_url = video_url.replace('.net.rtve', '.multimedia.cdn.rtve') subtitles = None if info.get('sbtFile') is not None: