Skip to content

Commit

Permalink
[slideshare] Fix description extraction
Browse files Browse the repository at this point in the history
  • Loading branch information
dstftw committed Dec 1, 2014
1 parent 954f36f commit d128cfe
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion youtube_dl/extractor/slideshare.py
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ def _real_extract(self, url):
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 {
Expand Down

0 comments on commit d128cfe

Please sign in to comment.