From 20691a11e6ade1bac6f357ccb1c4808854427c16 Mon Sep 17 00:00:00 2001 From: dirkf Date: Mon, 10 Oct 2022 10:54:19 +0100 Subject: [PATCH] Really 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 6159c2dbc..1a2caa085 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/(?P(?:playz?|alacarta)/(?:audios|videos)|filmoteca)/[^/]+/[^/]+/(?P\d+)' + _VALID_URL = r'https?://(?:www\.)?rtve\.es/(?P(?:playz?|(?:m/)?alacarta)/(?:audios|videos)|filmoteca)/[^/]+/[^/]+/(?P\d+)' _TESTS = [{ 'url': 'http://www.rtve.es/alacarta/videos/balonmano/o-swiss-cup-masculina-final-espana-suecia/2491869/',