summary refs log tree commit diff
diff options
context:
space:
mode:
authorsatunnainen <satunnainen@users.noreply.github.com>2017-07-14 18:11:07 +0300
committerSergey M <dstftw@gmail.com>2017-07-14 22:11:07 +0700
commit00dbdfc1f741b919a0add36394065ce1aeccfda8 (patch)
tree16490dcec4b90dfaa0dbacc63d7b19ae2c8f50c4
parentf354d8480700c5e6f288bfce497a363b4c6f0859 (diff)
downloadyoutube-dl-00dbdfc1f741b919a0add36394065ce1aeccfda8.tar.gz
youtube-dl-00dbdfc1f741b919a0add36394065ce1aeccfda8.tar.xz
youtube-dl-00dbdfc1f741b919a0add36394065ce1aeccfda8.zip
[slideshare] Fix extraction
-rw-r--r--youtube_dl/extractor/slideshare.py2
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':