2
0
Эх сурвалжийг харах

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

Jaime Marquínez Ferrándiz 12 жил өмнө
parent
commit
69fc019f26

+ 1 - 1
youtube_dl/InfoExtractors.py

@@ -570,7 +570,7 @@ class YoutubeIE(InfoExtractor):
         if video_description:
         if video_description:
             video_description = clean_html(video_description)
             video_description = clean_html(video_description)
         else:
         else:
-            video_description = ''
+            video_description = u''
 
 
         # subtitles
         # subtitles
         video_subtitles = None
         video_subtitles = None