1
0
mirror of https://github.com/l1ving/youtube-dl synced 2025-03-14 13:37:45 +08:00

[comedycentral] Replace thedailyshow.cc.com with thedailyshow.com in the playlist URL (fixes #5449)

This commit is contained in:
Jared Stafford 2015-04-17 09:30:24 -05:00
parent 08f2a92c9c
commit 510997866d

View File

@ -220,6 +220,7 @@ class ComedyCentralShowsIE(MTVServicesInfoExtractor):
content = itemEl.find('.//{http://search.yahoo.com/mrss/}content')
duration = float_or_none(content.attrib.get('duration'))
mediagen_url = content.attrib['url']
mediagen_url = mediagen_url.replace('thedailyshow.cc.com', 'thedailyshow.com')
guid = itemEl.find('./guid').text.rpartition(':')[-1]
cdoc = self._download_xml(