From dc36bc943499e42fac7873bc55ab573eb573e25d Mon Sep 17 00:00:00 2001 From: Adam Mesha Date: Thu, 11 Apr 2013 07:27:04 +0300 Subject: [PATCH] Fix bug when the vimeo description is empty on Python 2.x. --- youtube_dl/InfoExtractors.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/youtube_dl/InfoExtractors.py b/youtube_dl/InfoExtractors.py index aa8074a9e..82ba63449 100755 --- a/youtube_dl/InfoExtractors.py +++ b/youtube_dl/InfoExtractors.py @@ -1130,7 +1130,7 @@ class VimeoIE(InfoExtractor): # Extract video description video_description = get_element_by_attribute("itemprop", "description", webpage) if video_description: video_description = clean_html(video_description) - else: video_description = '' + else: video_description = u'' # Extract upload date video_upload_date = None -- 2.40.0