aboutsummaryrefslogtreecommitdiffstats
path: root/hypervideo_dl/extractor/teachable.py
diff options
context:
space:
mode:
Diffstat (limited to 'hypervideo_dl/extractor/teachable.py')
-rw-r--r--hypervideo_dl/extractor/teachable.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/hypervideo_dl/extractor/teachable.py b/hypervideo_dl/extractor/teachable.py
index 2394f86..37eae82 100644
--- a/hypervideo_dl/extractor/teachable.py
+++ b/hypervideo_dl/extractor/teachable.py
@@ -151,7 +151,7 @@ class TeachableIE(TeachableBaseIE):
return '%s%s' % (TeachableBaseIE._URL_PREFIX, source_url)
def _real_extract(self, url):
- mobj = re.match(self._VALID_URL, url)
+ mobj = self._match_valid_url(url)
site = mobj.group('site') or mobj.group('site_t')
video_id = mobj.group('id')
@@ -248,7 +248,7 @@ class TeachableCourseIE(TeachableBaseIE):
TeachableCourseIE, cls).suitable(url)
def _real_extract(self, url):
- mobj = re.match(self._VALID_URL, url)
+ mobj = self._match_valid_url(url)
site = mobj.group('site') or mobj.group('site_t')
course_id = mobj.group('id')