1
0
mirror of https://github.com/ytdl-org/youtube-dl.git synced 2025-07-12 13:26:19 +00:00

Merge d315653ea9b63a2f877b16fb87e240188afe4787 into c5098961b04ce83f4615f2a846c84f803b072639

This commit is contained in:
Gabriel Pupo 2024-08-21 21:36:35 -04:00 committed by GitHub
commit bf7d05bf5d
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -84,17 +84,17 @@ class NickBrIE(MTVServicesInfoExtractor):
_VALID_URL = r'''(?x) _VALID_URL = r'''(?x)
https?:// https?://
(?: (?:
(?P<domain>(?:www\.)?nickjr|mundonick\.uol)\.com\.br| (?P<domain>(?:www\.)?nickjr|(?:www\.)?mundonick)\.com\.br|
(?:www\.)?nickjr\.[a-z]{2}| (?:www\.)?nickjr\.[a-z]{2}|
(?:www\.)?nickelodeonjunior\.fr (?:www\.)?nickelodeonjunior\.fr
) )
/(?:programas/)?[^/]+/videos/(?:episodios/)?(?P<id>[^/?\#.]+) /(?:programas/)?[^/]+/videos/(?:episodios/)?(?P<id>[^/?\#.]+)
''' '''
_TESTS = [{ _TESTS = [{
'url': 'http://www.nickjr.com.br/patrulha-canina/videos/210-labirinto-de-pipoca/', 'url': 'http://www.nickjr.com.br/patrulha-canina/videos/os-filhotes-salvam-o-natal/',
'only_matching': True, 'only_matching': True,
}, { }, {
'url': 'http://mundonick.uol.com.br/programas/the-loud-house/videos/muitas-irmas/7ljo9j', 'url': 'http://www.mundonick.com.br/the-loud-house/videos/muitas-irmas/',
'only_matching': True, 'only_matching': True,
}, { }, {
'url': 'http://www.nickjr.nl/paw-patrol/videos/311-ge-wol-dig-om-terug-te-zijn/', 'url': 'http://www.nickjr.nl/paw-patrol/videos/311-ge-wol-dig-om-terug-te-zijn/',