Fix bug when the vimeo description is empty on Python 2.x.
authorAdam Mesha <adam@mesha.org>
Thu, 11 Apr 2013 04:27:04 +0000 (07:27 +0300)
committerAdam Mesha <adam@mesha.org>
Thu, 11 Apr 2013 04:27:04 +0000 (07:27 +0300)
youtube_dl/InfoExtractors.py

index aa8074a9e7d7c5fd690a6a31f5f8f5354d1ffcb5..82ba634499660c8cacc0b4494596bbc99ecbb587 100755 (executable)
@@ -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