From c82b1fdad6f27d78413c30cca9bc84a5c384afbf Mon Sep 17 00:00:00 2001 From: Philipp Hagemeister Date: Fri, 11 Apr 2014 02:19:15 +0200 Subject: [PATCH] [slideshare] Fix description --- youtube_dl/extractor/slideshare.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/youtube_dl/extractor/slideshare.py b/youtube_dl/extractor/slideshare.py index 9c62825cc..53c3c9220 100644 --- a/youtube_dl/extractor/slideshare.py +++ b/youtube_dl/extractor/slideshare.py @@ -39,7 +39,8 @@ 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'

]*>(.*?)

', webpage, 'description') + r']*>(.*?)

', webpage, + 'description', fatal=False) return { '_type': 'video',