aboutsummaryrefslogtreecommitdiffstats
path: root/youtube_dl/extractor/comedycentral.py
diff options
context:
space:
mode:
authorJaime Marquínez Ferrándiz <jaime.marquinez.ferrandiz@gmail.com>2014-07-16 22:37:01 +0200
committerJaime Marquínez Ferrándiz <jaime.marquinez.ferrandiz@gmail.com>2014-07-16 23:05:56 +0200
commitb4c538b02b12bfc1443e724a137aa6d54a02cc9c (patch)
treeb46f404b0c1c6fd014f205e46c70516aa0390682 /youtube_dl/extractor/comedycentral.py
parent13059bceb2a44c585b995197a5861bb5769b849b (diff)
downloadyoutube-dl-b4c538b02b12bfc1443e724a137aa6d54a02cc9c.zip
youtube-dl-b4c538b02b12bfc1443e724a137aa6d54a02cc9c.tar.gz
youtube-dl-b4c538b02b12bfc1443e724a137aa6d54a02cc9c.tar.bz2
[comedycentral] Only recognize the cc.com domain
The old comedycentral.com urls redirect to the new urls.
Diffstat (limited to 'youtube_dl/extractor/comedycentral.py')
-rw-r--r--youtube_dl/extractor/comedycentral.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/youtube_dl/extractor/comedycentral.py b/youtube_dl/extractor/comedycentral.py
index 3c0ce78..c81ce5a 100644
--- a/youtube_dl/extractor/comedycentral.py
+++ b/youtube_dl/extractor/comedycentral.py
@@ -14,13 +14,13 @@ from ..utils import (
class ComedyCentralIE(MTVServicesInfoExtractor):
- _VALID_URL = r'''(?x)https?://(?:www\.)?(comedycentral|cc)\.com/
+ _VALID_URL = r'''(?x)https?://(?:www\.)?cc\.com/
(video-clips|episodes|cc-studios|video-collections|full-episodes)
/(?P<title>.*)'''
_FEED_URL = 'http://comedycentral.com/feeds/mrss/'
_TEST = {
- 'url': 'http://www.comedycentral.com/video-clips/kllhuv/stand-up-greg-fitzsimmons--uncensored---too-good-of-a-mother',
+ 'url': 'http://www.cc.com/video-clips/kllhuv/stand-up-greg-fitzsimmons--uncensored---too-good-of-a-mother',
'md5': 'c4f48e9eda1b16dd10add0744344b6d8',
'info_dict': {
'id': 'cef0cbb3-e776-4bc9-b62e-8016deccb354',