Browse Source

[slideshare] Fix description

totalwebcasting
Philipp Hagemeister 11 years ago
parent
commit
c82b1fdad6
1 changed files with 2 additions and 1 deletions
  1. +2
    -1
      youtube_dl/extractor/slideshare.py

+ 2
- 1
youtube_dl/extractor/slideshare.py View File

@ -39,7 +39,8 @@ class SlideshareIE(InfoExtractor):
ext = info['jsplayer']['video_extension']
video_url = compat_urlparse.urljoin(bucket, doc + '-SD.' + ext)
description = self._html_search_regex(
r'<p class="description.*?"[^>]*>(.*?)</p>', webpage, 'description')
r'<p\s+(?:style="[^"]*"\s+)?class="description.*?"[^>]*>(.*?)</p>', webpage,
'description', fatal=False)
return {
'_type': 'video',


Loading…
Cancel
Save