diff options
author | Michał Walenciak <Kicer86@gmail.com> | 2025-04-18 20:32:38 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-04-18 18:32:38 +0000 |
commit | cb271d445bc2d866c9a3404b1d8f59bcb77447df (patch) | |
tree | 2407ce5ae6990b9cbeea6dab302faab25d2736de | |
parent | ceab4d5ed63a1f135a1816fe967c9d9a1ec7e6e8 (diff) |
[ie/CDAFolder] Extend `_VALID_URL` (#12919)
Closes #12918
Authored by: Kicer86, fireattack
Co-authored-by: fireattack <human.peng@gmail.com>
-rw-r--r-- | yt_dlp/extractor/cda.py | 5 |
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): |