Browse Source

Fix bug when the vimeo description is empty on Python 2.x.

master
Adam Mesha 11 years ago
parent
commit
dc36bc9434
1 changed files with 1 additions and 1 deletions
  1. 2
      youtube_dl/InfoExtractors.py

2
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

Loading…
Cancel
Save