aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorSergey M․ <[email protected]>2021-06-21 01:54:52 +0700
committerSergey M․ <[email protected]>2021-06-21 01:54:52 +0700
commit2ccee8db74c36eb1254cdffd4e691e56c0ce0724 (patch)
treeca6f35b22e01c2ad5934e8e5fbb6f761b50ffe7c
parent47f2f2fbe9730b041b91451d17279216f311ffc2 (diff)
downloadyoutube-dl-2ccee8db74c36eb1254cdffd4e691e56c0ce0724.tar.gz
youtube-dl-2ccee8db74c36eb1254cdffd4e691e56c0ce0724.zip
[curiositystream:collection] Extend _VALID_URL (closes #26326, closes #29117)
-rw-r--r--youtube_dl/extractor/curiositystream.py5
1 files changed, 4 insertions, 1 deletions
diff --git a/youtube_dl/extractor/curiositystream.py b/youtube_dl/extractor/curiositystream.py
index ae64a07d7..48ff30432 100644
--- a/youtube_dl/extractor/curiositystream.py
+++ b/youtube_dl/extractor/curiositystream.py
@@ -145,7 +145,7 @@ class CuriosityStreamIE(CuriosityStreamBaseIE):
class CuriosityStreamCollectionIE(CuriosityStreamBaseIE):
IE_NAME = 'curiositystream:collection'
- _VALID_URL = r'https?://(?:app\.)?curiositystream\.com/(?:collection|series)/(?P<id>\d+)'
+ _VALID_URL = r'https?://(?:app\.)?curiositystream\.com/(?:collections?|series)/(?P<id>\d+)'
_TESTS = [{
'url': 'https://app.curiositystream.com/collection/2',
'info_dict': {
@@ -157,6 +157,9 @@ class CuriosityStreamCollectionIE(CuriosityStreamBaseIE):
}, {
'url': 'https://curiositystream.com/series/2',
'only_matching': True,
+ }, {
+ 'url': 'https://curiositystream.com/collections/36',
+ 'only_matching': True,
}]
def _real_extract(self, url):