aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authornixxo <nixxo@protonmail.com>2021-09-23 08:15:54 +0200
committerGitHub <noreply@github.com>2021-09-23 11:45:54 +0530
commit4be9dbdc2413a796a6a88efb69a2a59612be5fae (patch)
treed90260648080906beca854bc377a560b32083a32
parenta21e0ab1a1a03f82517cd8cec4b9a2b4d6b81ac3 (diff)
downloadhypervideo-pre-4be9dbdc2413a796a6a88efb69a2a59612be5fae.tar.lz
hypervideo-pre-4be9dbdc2413a796a6a88efb69a2a59612be5fae.tar.xz
hypervideo-pre-4be9dbdc2413a796a6a88efb69a2a59612be5fae.zip
[comedycentral] Support `collection-playlist` (#1058)
Authored by: nixxo
-rw-r--r--yt_dlp/extractor/comedycentral.py5
1 files changed, 4 insertions, 1 deletions
diff --git a/yt_dlp/extractor/comedycentral.py b/yt_dlp/extractor/comedycentral.py
index 1bfa912be..5a12ab5e6 100644
--- a/yt_dlp/extractor/comedycentral.py
+++ b/yt_dlp/extractor/comedycentral.py
@@ -4,7 +4,7 @@ from .mtv import MTVServicesInfoExtractor
class ComedyCentralIE(MTVServicesInfoExtractor):
- _VALID_URL = r'https?://(?:www\.)?cc\.com/(?:episodes|video(?:-clips)?)/(?P<id>[0-9a-z]{6})'
+ _VALID_URL = r'https?://(?:www\.)?cc\.com/(?:episodes|video(?:-clips)?|collection-playlist)/(?P<id>[0-9a-z]{6})'
_FEED_URL = 'http://comedycentral.com/feeds/mrss/'
_TESTS = [{
@@ -24,6 +24,9 @@ class ComedyCentralIE(MTVServicesInfoExtractor):
}, {
'url': 'https://www.cc.com/video/k3sdvm/the-daily-show-with-jon-stewart-exclusive-the-fourth-estate',
'only_matching': True,
+ }, {
+ 'url': 'https://www.cc.com/collection-playlist/cosnej/stand-up-specials/t6vtjb',
+ 'only_matching': True,
}]