summary refs log tree commit diff
diff options
context:
space:
mode:
authorAdam Mesha <adam@mesha.org>2013-04-11 07:27:04 +0300
committerAdam Mesha <adam@mesha.org>2013-04-11 07:27:04 +0300
commitdc36bc943499e42fac7873bc55ab573eb573e25d (patch)
tree6a36f40b61b61de451cad78c334c54cc9bea2df6
parent43ff1a347d766bbaa7116f627680e8e74a8760d1 (diff)
downloadyoutube-dl-dc36bc943499e42fac7873bc55ab573eb573e25d.tar.gz
youtube-dl-dc36bc943499e42fac7873bc55ab573eb573e25d.tar.xz
youtube-dl-dc36bc943499e42fac7873bc55ab573eb573e25d.zip
Fix bug when the vimeo description is empty on Python 2.x.
-rwxr-xr-xyoutube_dl/InfoExtractors.py2
1 files changed, 1 insertions, 1 deletions
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