mirror of
https://github.com/ytdl-org/youtube-dl.git
synced 2024-12-16 14:18:10 +01:00
Fix bug when the vimeo description is empty on Python 2.x.
This commit is contained in:
parent
43ff1a347d
commit
dc36bc9434
@ -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…
Reference in New Issue
Block a user