From 585e806d9a1f8b767910e165f1c786bc194a986c Mon Sep 17 00:00:00 2001 From: dirkf Date: Mon, 10 Oct 2022 10:21:59 +0100 Subject: [PATCH] Pass TestAllURLsMatching.test_no_duplicates ? --- youtube_dl/extractor/rtve.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/youtube_dl/extractor/rtve.py b/youtube_dl/extractor/rtve.py index 8d1d2c078..6159c2dbc 100644 --- a/youtube_dl/extractor/rtve.py +++ b/youtube_dl/extractor/rtve.py @@ -26,7 +26,7 @@ _bytes_to_chr = (lambda x: x) if sys.version_info[0] == 2 else (lambda x: map(ch class RTVEPlayIE(InfoExtractor): IE_NAME = 'rtve.es:play' IE_DESC = 'RTVE Play' - _VALID_URL = r'https?://(?:www\.)?rtve\.es/(?Pplayz?/(?:audios|videos)|filmoteca)/[^/]+/[^/]+/(?P\d+)' + _VALID_URL = r'https?://(?:www\.)?rtve\.es/(?P(?:playz?|alacarta)/(?:audios|videos)|filmoteca)/[^/]+/[^/]+/(?P\d+)' _TESTS = [{ 'url': 'http://www.rtve.es/alacarta/videos/balonmano/o-swiss-cup-masculina-final-espana-suecia/2491869/',