Compare commits

...

3 Commits

Author SHA1 Message Date
Michał Walenciak
04790cb27f
Move test to the right place 2025-04-18 19:16:19 +02:00
Michał Walenciak
5a0eec7e99
Add test for url 2025-04-18 18:48:14 +02:00
Michał Walenciak
68cae1cb41
Use more compact syntax
Co-authored-by: sepro <sepro@sepr0.com>
2025-04-18 18:23:15 +02:00

View File

@ -353,7 +353,7 @@ class CDAIE(InfoExtractor):
class CDAFolderIE(InfoExtractor):
_MAX_PAGE_SIZE = 36
_VALID_URL = r'https?://(?:www\.)?cda\.pl/(?P<channel>[a-zA-Z0-9-]+)/folder/(?P<id>\d+)'
_VALID_URL = r'https?://(?:www\.)?cda\.pl/(?P<channel>[\w-]+)/folder/(?P<id>\d+)'
_TESTS = [
{
'url': 'https://www.cda.pl/domino264/folder/31188385',
@ -378,6 +378,9 @@ class CDAFolderIE(InfoExtractor):
'title': 'TESTY KOSMETYKÓW',
},
'playlist_mincount': 139,
}, {
'url': 'https://www.cda.pl/Test-t3st_t-1/folder/12345678',
'only_matching': True,
}]
def _real_extract(self, url):