aboutsummaryrefslogtreecommitdiff
path: root/yt_dlp/extractor/cda.py
diff options
context:
space:
mode:
Diffstat (limited to 'yt_dlp/extractor/cda.py')
-rw-r--r--yt_dlp/extractor/cda.py5
1 files changed, 4 insertions, 1 deletions
diff --git a/yt_dlp/extractor/cda.py b/yt_dlp/extractor/cda.py
index 96f25c22a..aa39bf382 100644
--- a/yt_dlp/extractor/cda.py
+++ b/yt_dlp/extractor/cda.py
@@ -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>[\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/FILMY-SERIALE-ANIME-KRESKOWKI-BAJKI/folder/18493422',
+ 'only_matching': True,
}]
def _real_extract(self, url):