aboutsummaryrefslogtreecommitdiffstats
path: root/hypervideo_dl/extractor/slideshare.py
diff options
context:
space:
mode:
Diffstat (limited to 'hypervideo_dl/extractor/slideshare.py')
-rw-r--r--hypervideo_dl/extractor/slideshare.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/hypervideo_dl/extractor/slideshare.py b/hypervideo_dl/extractor/slideshare.py
index e89ebeb..9b3ad0a 100644
--- a/hypervideo_dl/extractor/slideshare.py
+++ b/hypervideo_dl/extractor/slideshare.py
@@ -1,6 +1,5 @@
from __future__ import unicode_literals
-import re
import json
from .common import InfoExtractor
@@ -27,7 +26,7 @@ class SlideshareIE(InfoExtractor):
}
def _real_extract(self, url):
- mobj = re.match(self._VALID_URL, url)
+ mobj = self._match_valid_url(url)
page_title = mobj.group('title')
webpage = self._download_webpage(url, page_title)
slideshare_obj = self._search_regex(