Browse Source

[comedycentral] Fix feed uri request (Closes #5449, closes #5455)

totalwebcasting
Sergey M․ 10 years ago
parent
commit
7691a7a3bd
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      youtube_dl/extractor/comedycentral.py

+ 1
- 1
youtube_dl/extractor/comedycentral.py View File

@ -201,7 +201,7 @@ class ComedyCentralShowsIE(MTVServicesInfoExtractor):
uri = mMovieParams[0][1] uri = mMovieParams[0][1]
# Correct cc.com in uri # 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})) index_url = 'http://%s.cc.com/feeds/mrss?%s' % (show_name, compat_urllib_parse.urlencode({'uri': uri}))
idoc = self._download_xml( idoc = self._download_xml(


Loading…
Cancel
Save