From: Jaime Marquínez Ferrándiz Date: Sun, 4 May 2014 19:48:08 +0000 (+0200) Subject: [vimeo] Fix description extraction X-Git-Url: http://git.oshgnacknak.de/?a=commitdiff_plain;h=7558830fa3fee541fbc42fb00023ff1a70206a2d;p=youtube-dl [vimeo] Fix description extraction --- diff --git a/youtube_dl/extractor/vimeo.py b/youtube_dl/extractor/vimeo.py index a9552d1e7..f598b9380 100644 --- a/youtube_dl/extractor/vimeo.py +++ b/youtube_dl/extractor/vimeo.py @@ -257,8 +257,9 @@ class VimeoIE(VimeoBaseInfoExtractor, SubtitlesInfoExtractor): # Extract video description video_description = None try: - video_description = get_element_by_attribute("itemprop", "description", webpage) - if video_description: video_description = clean_html(video_description) + video_description = get_element_by_attribute("class", "description_wrapper", webpage) + if video_description: + video_description = clean_html(video_description) except AssertionError as err: # On some pages like (http://player.vimeo.com/video/54469442) the # html tags are not closed, python 2.6 cannot handle it