mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2024-12-02 16:32:51 +01:00
_VALID_URLS > _VALID_URL
This commit is contained in:
parent
42d0fba2bf
commit
518d585eb7
|
@ -12,7 +12,7 @@
|
||||||
|
|
||||||
class LA7IE(InfoExtractor):
|
class LA7IE(InfoExtractor):
|
||||||
IE_NAME = 'la7.it'
|
IE_NAME = 'la7.it'
|
||||||
_VALID_URLS = [
|
_VALID_URL = [
|
||||||
r'https?://(?:www\.)?la7\.it/[^/]+/(?:rivedila7|video|news)/.+-(?P<id>\d{5,})',
|
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/repliche-tgla7\?id=(?P<id>\d{5,})',
|
||||||
r'https?://tg\.la7\.it(?:/[^/]+)+-(?P<id>\d{5,})'
|
r'https?://tg\.la7\.it(?:/[^/]+)+-(?P<id>\d{5,})'
|
||||||
|
|
|
@ -235,7 +235,7 @@ def _extract_subtitles(url, video_data):
|
||||||
|
|
||||||
|
|
||||||
class RaiPlayIE(RaiBaseIE):
|
class RaiPlayIE(RaiBaseIE):
|
||||||
_VALID_URLS = [
|
_VALID_URL = [
|
||||||
rf'(?P<base>https?://(?:www\.)?raiplay\.it/.+?-(?P<id>{RaiBaseIE._UUID_RE}))\.(?:html|json)',
|
rf'(?P<base>https?://(?:www\.)?raiplay\.it/.+?-(?P<id>{RaiBaseIE._UUID_RE}))\.(?:html|json)',
|
||||||
r'(?P<base>https?://(?:www\.)?raiplay\.it/dirette/(?P<id>[^/?#&]+))',
|
r'(?P<base>https?://(?:www\.)?raiplay\.it/dirette/(?P<id>[^/?#&]+))',
|
||||||
]
|
]
|
||||||
|
@ -441,7 +441,7 @@ def _real_extract(self, url):
|
||||||
|
|
||||||
|
|
||||||
class RaiPlaySoundIE(RaiBaseIE):
|
class RaiPlaySoundIE(RaiBaseIE):
|
||||||
_VALID_URLS = [
|
_VALID_URL = [
|
||||||
rf'(?P<base>https?://(?:www\.)?raiplaysound\.it/.+?-(?P<id>{RaiBaseIE._UUID_RE}))\.(?:html|json)',
|
rf'(?P<base>https?://(?:www\.)?raiplaysound\.it/.+?-(?P<id>{RaiBaseIE._UUID_RE}))\.(?:html|json)',
|
||||||
r'(?P<base>https?://(?:www\.)?raiplaysound\.it/(?P<id>[^/?#&]+)$)',
|
r'(?P<base>https?://(?:www\.)?raiplaysound\.it/(?P<id>[^/?#&]+)$)',
|
||||||
]
|
]
|
||||||
|
|
Loading…
Reference in New Issue
Block a user