Skip to content

Commit

Permalink
[extractor/comedycentral] Add support for movies (#7108)
Browse files Browse the repository at this point in the history
Closes #1926
Authored by: sqrtNOT
  • Loading branch information
sqrtNOT committed May 26, 2023
1 parent b844a3f commit 66468bb
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion yt_dlp/extractor/comedycentral.py
Expand Up @@ -2,7 +2,7 @@


class ComedyCentralIE(MTVServicesInfoExtractor):
_VALID_URL = r'https?://(?:www\.)?cc\.com/(?:episodes|video(?:-clips)?|collection-playlist)/(?P<id>[0-9a-z]{6})'
_VALID_URL = r'https?://(?:www\.)?cc\.com/(?:episodes|video(?:-clips)?|collection-playlist|movies)/(?P<id>[0-9a-z]{6})'
_FEED_URL = 'http://comedycentral.com/feeds/mrss/'

_TESTS = [{
Expand All @@ -25,6 +25,9 @@ class ComedyCentralIE(MTVServicesInfoExtractor):
}, {
'url': 'https://www.cc.com/collection-playlist/cosnej/stand-up-specials/t6vtjb',
'only_matching': True,
}, {
'url': 'https://www.cc.com/movies/tkp406/a-cluesterfuenke-christmas',
'only_matching': True,
}]


Expand Down

0 comments on commit 66468bb

Please sign in to comment.