Explorar o código

YoutubeIE when no description is found use an empty unicode string (closes #800)

Jaime Marquínez Ferrándiz %!s(int64=12) %!d(string=hai) anos
pai
achega
69fc019f26
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      youtube_dl/InfoExtractors.py

+ 1 - 1
youtube_dl/InfoExtractors.py

@@ -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