فهرست منبع

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

Jaime Marquínez Ferrándiz 12 سال پیش
والد
کامیت
69fc019f26
1فایلهای تغییر یافته به همراه1 افزوده شده و 1 حذف شده
  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