summary refs log tree commit diff
diff options
context:
space:
mode:
authorJaime Marquínez Ferrándiz <jaime.marquinez.ferrandiz@gmail.com>2013-06-26 21:32:51 +0200
committerJaime Marquínez Ferrándiz <jaime.marquinez.ferrandiz@gmail.com>2013-06-26 21:38:01 +0200
commitbcd606c0feb565b260e0231a655c6fc16e439698 (patch)
tree2abbb4e21555ad791d1ccc77d2c46250d0325867
parented92bc9f6e402434e6d69d2947739d0c4151d77e (diff)
downloadyoutube-dl-bcd606c0feb565b260e0231a655c6fc16e439698.tar.gz
youtube-dl-bcd606c0feb565b260e0231a655c6fc16e439698.tar.xz
youtube-dl-bcd606c0feb565b260e0231a655c6fc16e439698.zip
ComedycentralIE: Force conversion of the description to unicode (close #941)
When writing to a file it would fail.
-rw-r--r--youtube_dl/extractor/comedycentral.py2
1 files changed, 1 insertions, 1 deletions
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)