1
0
Fork 0
mirror of https://github.com/ytdl-org/youtube-dl.git synced 2024-12-22 16:57:40 +00:00

[teachable] Remove debug output

This commit is contained in:
Sergey M․ 2018-12-10 10:10:28 +07:00
parent 6e29458f24
commit 102a4e54c5
No known key found for this signature in database
GPG key ID: 2C393E0F18A9236D

View file

@ -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)