mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2024-11-21 20:46:36 -05:00
Fix bug when the vimeo description is empty on Python 2.x.
This commit is contained in:
parent
43ff1a347d
commit
dc36bc9434
1 changed files with 1 additions and 1 deletions
|
@ -1130,7 +1130,7 @@ def _real_extract(self, url, new_video=True):
|
||||||
# Extract video description
|
# Extract video description
|
||||||
video_description = get_element_by_attribute("itemprop", "description", webpage)
|
video_description = get_element_by_attribute("itemprop", "description", webpage)
|
||||||
if video_description: video_description = clean_html(video_description)
|
if video_description: video_description = clean_html(video_description)
|
||||||
else: video_description = ''
|
else: video_description = u''
|
||||||
|
|
||||||
# Extract upload date
|
# Extract upload date
|
||||||
video_upload_date = None
|
video_upload_date = None
|
||||||
|
|
Loading…
Reference in a new issue