diff --git a/youtube_dl/extractor/teachable.py b/youtube_dl/extractor/teachable.py index b82414c3df..6b7f13b437 100644 --- a/youtube_dl/extractor/teachable.py +++ b/youtube_dl/extractor/teachable.py @@ -170,6 +170,7 @@ def _real_extract(self, url): 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)