mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2025-12-10 00:35:13 +01:00
[extractor] Common function _match_valid_url
This commit is contained in:
parent
f79ec47d71
commit
5ad28e7ffd
293 changed files with 389 additions and 541 deletions
|
|
@ -207,7 +207,7 @@ class FrontendMastersLessonIE(FrontendMastersPageBaseIE):
|
|||
}
|
||||
|
||||
def _real_extract(self, url):
|
||||
mobj = re.match(self._VALID_URL, url)
|
||||
mobj = self._match_valid_url(url)
|
||||
course_name, lesson_name = mobj.group('course_name', 'lesson_name')
|
||||
|
||||
course = self._download_course(course_name, url)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue