From: Jaime Marquínez Ferrándiz Date: Wed, 26 Jun 2013 19:32:51 +0000 (+0200) Subject: ComedycentralIE: Force conversion of the description to unicode (close #941) X-Git-Url: http://git.oshgnacknak.de/?a=commitdiff_plain;h=bcd606c0feb565b260e0231a655c6fc16e439698;p=youtube-dl ComedycentralIE: Force conversion of the description to unicode (close #941) When writing to a file it would fail. --- diff --git a/youtube_dl/extractor/comedycentral.py b/youtube_dl/extractor/comedycentral.py index 1bb359046..6985e88f0 100644 --- a/youtube_dl/extractor/comedycentral.py +++ b/youtube_dl/extractor/comedycentral.py @@ -172,7 +172,7 @@ class ComedyCentralIE(InfoExtractor): 'ext': 'mp4', 'format': format, 'thumbnail': None, - 'description': officialTitle, + 'description': compat_str(officialTitle), } results.append(info)