mirror of
https://github.com/ytdl-org/youtube-dl.git
synced 2024-11-25 19:52:11 +00:00
Revert "[rtve] Fix extraction (#10076)"
This reverts commit c39b2ed990
.
Apparently outside of Spain using 'auth/resources' is required (#10097).
This commit is contained in:
parent
dbc0b39b91
commit
bb9f3bfedf
1 changed files with 3 additions and 1 deletions
|
@ -113,7 +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('.net.rtve', '.multimedia.cdn.rtve')
|
video_url = video_url.replace(
|
||||||
|
'resources/', 'auth/resources/'
|
||||||
|
).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 a new issue