1
0
mirror of https://github.com/l1ving/youtube-dl synced 2024-11-20 18:36:06 +08:00

[slideshare] Fix description extraction

This commit is contained in:
Sergey M․ 2014-12-01 20:18:42 +06:00
parent 954f36f890
commit d128cfe393

View File

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