1
0
mirror of https://github.com/l1ving/youtube-dl synced 2024-12-21 18:22:54 +08:00

[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 @@ 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(