Sfoglia il codice sorgente

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

When writing to a file it would fail.
Jaime Marquínez Ferrándiz 12 anni fa
parent
commit
bcd606c0fe
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. 1 1
      youtube_dl/extractor/comedycentral.py

+ 1 - 1
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)