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

This commit is contained in:
Sergey M․ 2015-04-17 23:41:07 +06:00
parent 214e74bf6f
commit 7691a7a3bd

View File

@ -201,7 +201,7 @@ def _real_extract(self, url):
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(