[comedycentral] Fix feed uri request (Closes #5449, closes #5455)
authorSergey M․ <dstftw@gmail.com>
Fri, 17 Apr 2015 17:41:07 +0000 (23:41 +0600)
committerSergey M․ <dstftw@gmail.com>
Fri, 17 Apr 2015 17:41:07 +0000 (23:41 +0600)
youtube_dl/extractor/comedycentral.py

index e5edcc84b69ef7bdffdbb7ed158c901c560a7575..91ebb0ce57136dc0076927acdca4e250774746e1 100644 (file)
@@ -201,7 +201,7 @@ class ComedyCentralShowsIE(MTVServicesInfoExtractor):
 
         uri = mMovieParams[0][1]
         # Correct cc.com in uri
-        uri = re.sub(r'(episode:[^.]+)(\.cc)?\.com', r'\1.cc.com', uri)
+        uri = re.sub(r'(episode:[^.]+)(\.cc)?\.com', r'\1.com', uri)
 
         index_url = 'http://%s.cc.com/feeds/mrss?%s' % (show_name, compat_urllib_parse.urlencode({'uri': uri}))
         idoc = self._download_xml(