aboutsummaryrefslogtreecommitdiffstats
path: root/yt_dlp/extractor/slideshare.py
diff options
context:
space:
mode:
Diffstat (limited to 'yt_dlp/extractor/slideshare.py')
-rw-r--r--yt_dlp/extractor/slideshare.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/yt_dlp/extractor/slideshare.py b/yt_dlp/extractor/slideshare.py
index e89ebebe7..9b3ad0ad4 100644
--- a/yt_dlp/extractor/slideshare.py
+++ b/yt_dlp/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(