youtube-dl

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

commit d128cfe3931eeb779a13678e43e09e012a64aca7
parent 954f36f890713f39bba7e5a08559856c367c89e7
Author: Sergey M․ <dstftw@gmail.com>
Date:   Mon,  1 Dec 2014 20:18:42 +0600

[slideshare] Fix description extraction

Diffstat:
Myoutube_dl/extractor/slideshare.py | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git 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 {