Sergey M․
5 years ago
No known key found for this signature in database
GPG Key ID: 2C393E0F18A9236D
1 changed files with
4 additions and
1 deletions
-
youtube_dl/extractor/teachable.py
|
|
@ -165,7 +165,10 @@ class TeachableIE(TeachableBaseIE): |
|
|
|
if any(re.search(p, webpage) for p in ( |
|
|
|
r'class=["\']lecture-contents-locked', |
|
|
|
r'>\s*Lecture contents locked', |
|
|
|
r'id=["\']lecture-locked')): |
|
|
|
r'id=["\']lecture-locked', |
|
|
|
# https://academy.tailoredtutors.co.uk/courses/108779/lectures/1955313 |
|
|
|
r'class=["\'](?:inner-)?lesson-locked', |
|
|
|
r'>LESSON LOCKED<')): |
|
|
|
self.raise_login_required('Lecture contents locked') |
|
|
|
|
|
|
|
title = self._og_search_title(webpage, default=None) |
|
|
|