mirror of
https://github.com/ytdl-org/youtube-dl.git
synced 2024-12-21 04:24:27 +00:00
[rtve] Fix extraction for some videos
For example http://www.rtve.es/alacarta/videos/documentos-tv/documentos-tv-descredito/3574098/.
This commit is contained in:
parent
bb9f3bfedf
commit
da0baba5c8
@ -113,9 +113,9 @@ class RTVEALaCartaIE(InfoExtractor):
|
|||||||
png = self._download_webpage(png_request, video_id, 'Downloading url information')
|
png = self._download_webpage(png_request, video_id, 'Downloading url information')
|
||||||
video_url = _decrypt_url(png)
|
video_url = _decrypt_url(png)
|
||||||
if not video_url.endswith('.f4m'):
|
if not video_url.endswith('.f4m'):
|
||||||
video_url = video_url.replace(
|
if '?' not in video_url:
|
||||||
'resources/', 'auth/resources/'
|
video_url = video_url.replace('resources/', 'auth/resources/')
|
||||||
).replace('.net.rtve', '.multimedia.cdn.rtve')
|
video_url = video_url.replace('.net.rtve', '.multimedia.cdn.rtve')
|
||||||
|
|
||||||
subtitles = None
|
subtitles = None
|
||||||
if info.get('sbtFile') is not None:
|
if info.get('sbtFile') is not None:
|
||||||
|
Loading…
Reference in New Issue
Block a user