[comedycentral] Replace thedailyshow.cc.com with thedailyshow.com in the playlist URL (fixes #5449)
This commit is contained in:
parent
08f2a92c9c
commit
510997866d
@ -220,6 +220,7 @@ class ComedyCentralShowsIE(MTVServicesInfoExtractor):
|
|||||||
content = itemEl.find('.//{http://search.yahoo.com/mrss/}content')
|
content = itemEl.find('.//{http://search.yahoo.com/mrss/}content')
|
||||||
duration = float_or_none(content.attrib.get('duration'))
|
duration = float_or_none(content.attrib.get('duration'))
|
||||||
mediagen_url = content.attrib['url']
|
mediagen_url = content.attrib['url']
|
||||||
|
mediagen_url = mediagen_url.replace('thedailyshow.cc.com', 'thedailyshow.com')
|
||||||
guid = itemEl.find('./guid').text.rpartition(':')[-1]
|
guid = itemEl.find('./guid').text.rpartition(':')[-1]
|
||||||
|
|
||||||
cdoc = self._download_xml(
|
cdoc = self._download_xml(
|
||||||
|
Loading…
x
Reference in New Issue
Block a user