Browse Source

ComedycentralIE: Force conversion of the description to unicode (close #941)

When writing to a file it would fail.
Jaime Marquínez Ferrándiz 12 years ago
parent
commit
bcd606c0fe
1 changed files with 1 additions and 1 deletions
  1. 1 1
      youtube_dl/extractor/comedycentral.py

+ 1 - 1
youtube_dl/extractor/comedycentral.py

@@ -172,7 +172,7 @@ class ComedyCentralIE(InfoExtractor):
                 'ext': 'mp4',
                 'ext': 'mp4',
                 'format': format,
                 'format': format,
                 'thumbnail': None,
                 'thumbnail': None,
-                'description': officialTitle,
+                'description': compat_str(officialTitle),
             }
             }
             results.append(info)
             results.append(info)