Include hyphen for channel name

This commit is contained in:
Michał Walenciak 2025-04-15 19:06:36 +02:00
parent 74e90dd9b8
commit d472153a63
No known key found for this signature in database
GPG Key ID: AAA2D04C6FA027F7

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>\w+)/folder/(?P<id>\d+)'
_VALID_URL = r'https?://(?:www\.)?cda\.pl/(?P<channel>[a-zA-Z0-9-]+)/folder/(?P<id>\d+)'
_TESTS = [
{
'url': 'https://www.cda.pl/domino264/folder/31188385',