Update to comedycentral.py (cc.com)
authorericpardee <github@ericpardee.com>
Tue, 18 Mar 2014 01:01:26 +0000 (18:01 -0700)
committerericpardee <github@ericpardee.com>
Tue, 18 Mar 2014 01:01:26 +0000 (18:01 -0700)
Added cc.com as it's same as comedycentral.com and used, i.e. http://www.cc.com/video-clips/fmyq0m/broad-city-a-beautiful-railroad-style-apartment

youtube_dl/extractor/comedycentral.py

index ed3986f313a149f0db4a69dc92762730297ced1a..d50fcdbdbb0fc23becdf6a254769667da44cb9c4 100644 (file)
@@ -14,7 +14,7 @@ from ..utils import (
 
 
 class ComedyCentralIE(MTVServicesInfoExtractor):
-    _VALID_URL = r'''(?x)https?://(?:www\.)?comedycentral\.com/
+    _VALID_URL = r'''(?x)https?://(?:www\.)?(comedycentral|cc)\.com/
         (video-clips|episodes|cc-studios|video-collections)
         /(?P<title>.*)'''
     _FEED_URL = 'http://comedycentral.com/feeds/mrss/'