Sergey M․
6 years ago
No known key found for this signature in database
GPG Key ID: 2C393E0F18A9236D
1 changed files with
0 additions and
1 deletions
-
youtube_dl/extractor/teachable.py
|
|
@ -135,7 +135,6 @@ class TeachableIE(TeachableBaseIE): |
|
|
|
@staticmethod |
|
|
|
def _extract_url(webpage, source_url): |
|
|
|
if not TeachableIE._is_teachable(webpage): |
|
|
|
print('NOT TEACHABLE') |
|
|
|
return |
|
|
|
if re.match(r'https?://[^/]+/(?:courses|p)', source_url): |
|
|
|
return '%s%s' % (TeachableBaseIE._URL_PREFIX, source_url) |
|
|
|