aboutsummaryrefslogtreecommitdiff
path: root/youtube_dl
diff options
context:
space:
mode:
authorNaglis Jonaitis <njonaitis@gmail.com>2015-03-26 17:46:20 +0200
committerNaglis Jonaitis <njonaitis@gmail.com>2015-03-26 17:47:25 +0200
commit425142be601adfb4218f78c10aedbed14ad1facd (patch)
tree4671f91821bde3c4183db2c69d740c71e755dae8 /youtube_dl
parent7e17ec8c717796ec304b205059c741e7b47474dd (diff)
[slideshare] Fix extraction (#5279)
Diffstat (limited to 'youtube_dl')
-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 9f79ff5c1..0b717a1e4 100644
--- a/youtube_dl/extractor/slideshare.py
+++ b/youtube_dl/extractor/slideshare.py
@@ -30,7 +30,7 @@ class SlideshareIE(InfoExtractor):
page_title = mobj.group('title')
webpage = self._download_webpage(url, page_title)
slideshare_obj = self._search_regex(
- r'var\s+slideshare_object\s*=\s*({.*?});\s*var\s+user_info\s*=',
+ r'\$\.extend\(slideshare_object,\s*(\{.*?\})\);',
webpage, 'slideshare object')
info = json.loads(slideshare_obj)
if info['slideshow']['type'] != 'video':