From 56e90e258e0aef6692acb35014fe4b1f6882ed65 Mon Sep 17 00:00:00 2001 From: joaquinito2070 <118765355+joaquinito2070@users.noreply.github.com> Date: Thu, 15 Dec 2022 18:43:06 +0100 Subject: [PATCH] Update rtve.py --- yt_dlp/extractor/rtve.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/yt_dlp/extractor/rtve.py b/yt_dlp/extractor/rtve.py index 6210b56105..18fa99c8ec 100644 --- a/yt_dlp/extractor/rtve.py +++ b/yt_dlp/extractor/rtve.py @@ -21,7 +21,7 @@ class RTVEALaCartaIE(InfoExtractor): _VALID_URL = r'https?://(?:www\.)?rtve\.es/(m/)?(alacarta/play/videos|filmoteca)/[^/]+/[^/]+/(?P\d+)' _TESTS = [{ - 'url': 'http://www.rtve.es/alacarta/videos/balonmano/o-swiss-cup-masculina-final-espana-suecia/2491869/', + 'url': 'http://www.rtve.es/play/videos/balonmano/o-swiss-cup-masculina-final-espana-suecia/2491869/', 'md5': '1d49b7e1ca7a7502c56a4bf1b60f1b43', 'info_dict': { 'id': '2491869', @@ -33,7 +33,7 @@ class RTVEALaCartaIE(InfoExtractor): 'expected_warnings': ['Failed to download MPD manifest', 'Failed to download m3u8 information'], }, { 'note': 'Live stream', - 'url': 'http://www.rtve.es/alacarta/videos/television/24h-live/1694255/', + 'url': 'http://www.rtve.es/play/videos/television/24h-live/1694255/', 'info_dict': { 'id': '1694255', 'ext': 'mp4', @@ -44,7 +44,7 @@ class RTVEALaCartaIE(InfoExtractor): 'skip_download': 'live stream', }, }, { - 'url': 'http://www.rtve.es/alacarta/videos/servir-y-proteger/servir-proteger-capitulo-104/4236788/', + 'url': 'http://www.rtve.es/play/videos/servir-y-proteger/servir-proteger-capitulo-104/4236788/', 'md5': 'd850f3c8731ea53952ebab489cf81cbf', 'info_dict': { 'id': '4236788', @@ -54,7 +54,7 @@ class RTVEALaCartaIE(InfoExtractor): }, 'expected_warnings': ['Failed to download MPD manifest', 'Failed to download m3u8 information'], }, { - 'url': 'http://www.rtve.es/m/alacarta/videos/cuentame-como-paso/cuentame-como-paso-t16-ultimo-minuto-nuestra-vida-capitulo-276/2969138/?media=tve', + 'url': 'http://www.rtve.es/play/videos/cuentame-como-paso/cuentame-como-paso-t16-ultimo-minuto-nuestra-vida-capitulo-276/2969138/?media=tve', 'only_matching': True, }, { 'url': 'http://www.rtve.es/filmoteca/no-do/not-1-introduccion-primer-noticiario-espanol/1465256/',