Update rtve.py

This commit is contained in:
joaquinito2070 2022-12-15 18:43:06 +01:00 committed by GitHub
parent 0806b5a266
commit 56e90e258e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -21,7 +21,7 @@ class RTVEALaCartaIE(InfoExtractor):
_VALID_URL = r'https?://(?:www\.)?rtve\.es/(m/)?(alacarta/play/videos|filmoteca)/[^/]+/[^/]+/(?P<id>\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/',