aboutsummaryrefslogtreecommitdiffstats
path: root/yt_dlp/extractor/lynda.py
diff options
context:
space:
mode:
Diffstat (limited to 'yt_dlp/extractor/lynda.py')
-rw-r--r--yt_dlp/extractor/lynda.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/yt_dlp/extractor/lynda.py b/yt_dlp/extractor/lynda.py
index 06662be1a..58cf17239 100644
--- a/yt_dlp/extractor/lynda.py
+++ b/yt_dlp/extractor/lynda.py
@@ -128,7 +128,7 @@ class LyndaIE(LyndaBaseIE):
'Video %s is only available for members' % video_id)
def _real_extract(self, url):
- mobj = re.match(self._VALID_URL, url)
+ mobj = self._match_valid_url(url)
video_id = mobj.group('id')
course_id = mobj.group('course_id')
@@ -281,7 +281,7 @@ class LyndaCourseIE(LyndaBaseIE):
}]
def _real_extract(self, url):
- mobj = re.match(self._VALID_URL, url)
+ mobj = self._match_valid_url(url)
course_path = mobj.group('coursepath')
course_id = mobj.group('courseid')