diff options
author | satunnainen <satunnainen@users.noreply.github.com> | 2017-07-14 18:11:07 +0300 |
---|---|---|
committer | Sergey M <dstftw@gmail.com> | 2017-07-14 22:11:07 +0700 |
commit | 00dbdfc1f741b919a0add36394065ce1aeccfda8 (patch) | |
tree | 16490dcec4b90dfaa0dbacc63d7b19ae2c8f50c4 /youtube_dl/extractor | |
parent | f354d8480700c5e6f288bfce497a363b4c6f0859 (diff) |
[slideshare] Fix extraction
Diffstat (limited to 'youtube_dl/extractor')
-rw-r--r-- | youtube_dl/extractor/slideshare.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/youtube_dl/extractor/slideshare.py b/youtube_dl/extractor/slideshare.py index 74a1dc672..e89ebebe7 100644 --- a/youtube_dl/extractor/slideshare.py +++ b/youtube_dl/extractor/slideshare.py @@ -31,7 +31,7 @@ class SlideshareIE(InfoExtractor): page_title = mobj.group('title') webpage = self._download_webpage(url, page_title) slideshare_obj = self._search_regex( - r'\$\.extend\(slideshare_object,\s*(\{.*?\})\);', + r'\$\.extend\(.*?slideshare_object,\s*(\{.*?\})\);', webpage, 'slideshare object') info = json.loads(slideshare_obj) if info['slideshow']['type'] != 'video': |