aboutsummaryrefslogtreecommitdiff
path: root/youtube_dl
diff options
context:
space:
mode:
authorJaime Marquínez Ferrándiz <jaime.marquinez.ferrandiz@gmail.com>2014-05-04 21:48:08 +0200
committerJaime Marquínez Ferrándiz <jaime.marquinez.ferrandiz@gmail.com>2014-05-04 21:48:08 +0200
commit7558830fa3fee541fbc42fb00023ff1a70206a2d (patch)
tree07562b0a7f73ea474fa9f1c18f5b031ae77b7731 /youtube_dl
parent867274e997f8aa3f035af4489947ad743c954e7e (diff)
[vimeo] Fix description extraction
Diffstat (limited to 'youtube_dl')
-rw-r--r--youtube_dl/extractor/vimeo.py5
1 files changed, 3 insertions, 2 deletions
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