]> git.bitcoin.ninja Git - youtube-dl/commitdiff
ComedycentralIE: Force conversion of the description to unicode (close #941)
authorJaime Marquínez Ferrándiz <jaime.marquinez.ferrandiz@gmail.com>
Wed, 26 Jun 2013 19:32:51 +0000 (21:32 +0200)
committerJaime Marquínez Ferrándiz <jaime.marquinez.ferrandiz@gmail.com>
Wed, 26 Jun 2013 19:38:01 +0000 (21:38 +0200)
When writing to a file it would fail.

youtube_dl/extractor/comedycentral.py

index 1bb359046b958b5554371ca4aa602696efe8fe8f..6985e88f0a474fc48806304d03f5553bb01d315b 100644 (file)
@@ -172,7 +172,7 @@ class ComedyCentralIE(InfoExtractor):
                 'ext': 'mp4',
                 'format': format,
                 'thumbnail': None,
-                'description': officialTitle,
+                'description': compat_str(officialTitle),
             }
             results.append(info)