mirror of
https://github.com/yt-dlp/yt-dlp
synced 2025-12-18 23:25:42 +07:00
[teachable] Remove debug output
This commit is contained in:
@@ -135,7 +135,6 @@ def _is_teachable(webpage):
|
|||||||
@staticmethod
|
@staticmethod
|
||||||
def _extract_url(webpage, source_url):
|
def _extract_url(webpage, source_url):
|
||||||
if not TeachableIE._is_teachable(webpage):
|
if not TeachableIE._is_teachable(webpage):
|
||||||
print('NOT TEACHABLE')
|
|
||||||
return
|
return
|
||||||
if re.match(r'https?://[^/]+/(?:courses|p)', source_url):
|
if re.match(r'https?://[^/]+/(?:courses|p)', source_url):
|
||||||
return '%s%s' % (TeachableBaseIE._URL_PREFIX, source_url)
|
return '%s%s' % (TeachableBaseIE._URL_PREFIX, source_url)
|
||||||
|
|||||||
Reference in New Issue
Block a user