diff options
author | Adam Mesha <adam@mesha.org> | 2013-04-11 07:27:04 +0300 |
---|---|---|
committer | Adam Mesha <adam@mesha.org> | 2013-04-11 07:27:04 +0300 |
commit | dc36bc943499e42fac7873bc55ab573eb573e25d (patch) | |
tree | 6a36f40b61b61de451cad78c334c54cc9bea2df6 | |
parent | 43ff1a347d766bbaa7116f627680e8e74a8760d1 (diff) |
Fix bug when the vimeo description is empty on Python 2.x.
-rwxr-xr-x | youtube_dl/InfoExtractors.py | 2 |
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 |