From: Adam Mesha Date: Thu, 11 Apr 2013 04:27:04 +0000 (+0300) Subject: Fix bug when the vimeo description is empty on Python 2.x. X-Git-Url: http://git.oshgnacknak.de/?a=commitdiff_plain;h=dc36bc943499e42fac7873bc55ab573eb573e25d;p=youtube-dl Fix bug when the vimeo description is empty on Python 2.x. --- 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