aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPhilipp Hagemeister <phihag@phihag.de>2011-09-07 22:42:33 +0200
committerPhilipp Hagemeister <phihag@phihag.de>2011-09-07 22:42:33 +0200
commit46c8c43266ebeb6013c1424cd7ec5a43ee57fef0 (patch)
tree53a712782fbea832d462a291bf18d349256d63b7
parentfedf9f390210d0a06f323f0476681b607ee57b0f (diff)
downloadyoutube-dl-46c8c43266ebeb6013c1424cd7ec5a43ee57fef0.tar.xz
Switch around act and episode title (makes -t nicer)
-rwxr-xr-xyoutube-dl10
1 files changed, 5 insertions, 5 deletions
diff --git a/youtube-dl b/youtube-dl
index a1245a8b4..f3472f253 100755
--- a/youtube-dl
+++ b/youtube-dl
@@ -3103,7 +3103,7 @@ class ComedyCentralIE(InfoExtractor):
except (urllib2.URLError, httplib.HTTPException, socket.error), err:
self._downloader.trouble(u'ERROR: unable to download webpage: %s' % unicode(err))
return
-
+
cdoc = xml.etree.ElementTree.fromstring(configXml)
turls = []
for rendition in cdoc.findall('.//rendition'):
@@ -3116,19 +3116,19 @@ class ComedyCentralIE(InfoExtractor):
self._downloader.increment_downloads()
actTitle = 'act' + str(actNum+1)
info = {
- 'id': epTitle,
+ 'id': actTitle,
'url': video_url,
'uploader': 'NA',
'upload_date': 'NA',
- 'title': actTitle,
- 'stitle': self._simplify_title(actTitle),
+ 'title': epTitle,
+ 'stitle': self._simplify_title(epTitle),
'ext': 'mp4',
'format': format,
'thumbnail': None,
'description': 'TODO: Not yet supported',
'player_url': player_url
}
-
+
try:
self._downloader.process_info(info)
except UnavailableVideoError, err: