Skip to content

A feature-rich command-line audio/video downloader

[comedycentral] Change XPath .//guid to ./guid (fixes #2668)

Jaime Marquínez Ferrándiz9ddaf4ef8cce
diff --git a/youtube_dl/extractor/comedycentral.py b/youtube_dl/extractor/comedycentral.py
index 970df86ef0..40870cb861 100644
--- a/youtube_dl/extractor/comedycentral.py
+++ b/youtube_dl/extractor/comedycentral.py
@@ -165,7 +165,7 @@ class ComedyCentralShowsIE(InfoExtractor):
content = itemEl.find('.//{http://search.yahoo.com/mrss/}content')
duration = float_or_none(content.attrib.get('duration'))
mediagen_url = content.attrib['url']
- guid = itemEl.find('.//guid').text.rpartition(':')[-1]
+ guid = itemEl.find('./guid').text.rpartition(':')[-1]
cdoc = self._download_xml(
mediagen_url, epTitle,