_VALID_URLS > _VALID_URL

This commit is contained in:
nixxo 2022-12-30 23:56:09 +01:00
parent 42d0fba2bf
commit 518d585eb7
No known key found for this signature in database
GPG Key ID: E0DE62EF9A9BFAB2
2 changed files with 3 additions and 3 deletions

View File

@ -12,7 +12,7 @@
class LA7IE(InfoExtractor):
IE_NAME = 'la7.it'
_VALID_URLS = [
_VALID_URL = [
r'https?://(?:www\.)?la7\.it/[^/]+/(?:rivedila7|video|news)/.+-(?P<id>\d{5,})',
r'https?://tg\.la7\.it/repliche-tgla7\?id=(?P<id>\d{5,})',
r'https?://tg\.la7\.it(?:/[^/]+)+-(?P<id>\d{5,})'

View File

@ -235,7 +235,7 @@ def _extract_subtitles(url, video_data):
class RaiPlayIE(RaiBaseIE):
_VALID_URLS = [
_VALID_URL = [
rf'(?P<base>https?://(?:www\.)?raiplay\.it/.+?-(?P<id>{RaiBaseIE._UUID_RE}))\.(?:html|json)',
r'(?P<base>https?://(?:www\.)?raiplay\.it/dirette/(?P<id>[^/?#&]+))',
]
@ -441,7 +441,7 @@ def _real_extract(self, url):
class RaiPlaySoundIE(RaiBaseIE):
_VALID_URLS = [
_VALID_URL = [
rf'(?P<base>https?://(?:www\.)?raiplaysound\.it/.+?-(?P<id>{RaiBaseIE._UUID_RE}))\.(?:html|json)',
r'(?P<base>https?://(?:www\.)?raiplaysound\.it/(?P<id>[^/?#&]+)$)',
]