aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergey M․ <dstftw@gmail.com>2014-12-01 20:18:42 +0600
committerSergey M․ <dstftw@gmail.com>2014-12-01 20:18:42 +0600
commitd128cfe3931eeb779a13678e43e09e012a64aca7 (patch)
tree09be143a15e1c99ac2fc4b7c1b3595a6a7db4927
parent954f36f890713f39bba7e5a08559856c367c89e7 (diff)
[slideshare] Fix description extraction
-rw-r--r--youtube_dl/extractor/slideshare.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/youtube_dl/extractor/slideshare.py b/youtube_dl/extractor/slideshare.py
index 53c3c9220..5864b9936 100644
--- a/youtube_dl/extractor/slideshare.py
+++ b/youtube_dl/extractor/slideshare.py
@@ -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 {