projects
/
youtube-dl
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
[tva] Relax _VALID_URL (closes #23903)
[youtube-dl]
/
youtube_dl
/
extractor
/
teachable.py
diff --git
a/youtube_dl/extractor/teachable.py
b/youtube_dl/extractor/teachable.py
index b82414c3df4de70e16727dae480522a132136020..6b7f13b437e3f3671b355b7dabcea9fd5056969e 100644
(file)
--- a/
youtube_dl/extractor/teachable.py
+++ b/
youtube_dl/extractor/teachable.py
@@
-170,6
+170,7
@@
class TeachableIE(TeachableBaseIE):
r'class=["\'](?:inner-)?lesson-locked',
r'>LESSON LOCKED<')):
self.raise_login_required('Lecture contents locked')
+ raise ExtractorError('Unable to find video URL')
title = self._og_search_title(webpage, default=None)