YoutubeIE when no description is found use an empty unicode string (closes #800)
authorJaime Marquínez Ferrándiz <jaime.marquinez.ferrandiz@gmail.com>
Tue, 23 Apr 2013 10:24:08 +0000 (12:24 +0200)
committerJaime Marquínez Ferrándiz <jaime.marquinez.ferrandiz@gmail.com>
Tue, 23 Apr 2013 10:24:08 +0000 (12:24 +0200)
youtube_dl/InfoExtractors.py

index 5cc0e9195f4e751b99e73af76aab1fbf730b1f3f..208b44887545ee1bba04e598787e6c574d5bd5cf 100755 (executable)
@@ -570,7 +570,7 @@ class YoutubeIE(InfoExtractor):
         if video_description:
             video_description = clean_html(video_description)
         else:
-            video_description = ''
+            video_description = u''
 
         # subtitles
         video_subtitles = None