From 518d585eb72e95a701509bff1c2a54ba982755d9 Mon Sep 17 00:00:00 2001 From: nixxo Date: Fri, 30 Dec 2022 23:56:09 +0100 Subject: [PATCH] _VALID_URLS > _VALID_URL --- yt_dlp/extractor/la7.py | 2 +- yt_dlp/extractor/rai.py | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/yt_dlp/extractor/la7.py b/yt_dlp/extractor/la7.py index 5eeca9809..c178de59a 100644 --- a/yt_dlp/extractor/la7.py +++ b/yt_dlp/extractor/la7.py @@ -12,7 +12,7 @@ class LA7IE(InfoExtractor): IE_NAME = 'la7.it' - _VALID_URLS = [ + _VALID_URL = [ r'https?://(?:www\.)?la7\.it/[^/]+/(?:rivedila7|video|news)/.+-(?P\d{5,})', r'https?://tg\.la7\.it/repliche-tgla7\?id=(?P\d{5,})', r'https?://tg\.la7\.it(?:/[^/]+)+-(?P\d{5,})' diff --git a/yt_dlp/extractor/rai.py b/yt_dlp/extractor/rai.py index a84d63fa0..527b03615 100644 --- a/yt_dlp/extractor/rai.py +++ b/yt_dlp/extractor/rai.py @@ -235,7 +235,7 @@ def _extract_subtitles(url, video_data): class RaiPlayIE(RaiBaseIE): - _VALID_URLS = [ + _VALID_URL = [ rf'(?Phttps?://(?:www\.)?raiplay\.it/.+?-(?P{RaiBaseIE._UUID_RE}))\.(?:html|json)', r'(?Phttps?://(?:www\.)?raiplay\.it/dirette/(?P[^/?#&]+))', ] @@ -441,7 +441,7 @@ def _real_extract(self, url): class RaiPlaySoundIE(RaiBaseIE): - _VALID_URLS = [ + _VALID_URL = [ rf'(?Phttps?://(?:www\.)?raiplaysound\.it/.+?-(?P{RaiBaseIE._UUID_RE}))\.(?:html|json)', r'(?Phttps?://(?:www\.)?raiplaysound\.it/(?P[^/?#&]+)$)', ]