youtube-dl

Another place where youtube-dl lives on
git clone git://git.oshgnacknak.de/youtube-dl.git
Log | Files | Refs | README | LICENSE

commit c82b1fdad6f27d78413c30cca9bc84a5c384afbf
parent b0fb63abe864fd8a27ffa4f1c187abd7e4afb8fe
Author: Philipp Hagemeister <phihag@phihag.de>
Date:   Fri, 11 Apr 2014 02:19:15 +0200

[slideshare] Fix description

Diffstat:
Myoutube_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 @@ -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',