diff options
author | Sergey M․ <dstftw@gmail.com> | 2019-12-27 00:26:12 +0700 |
---|---|---|
committer | Sergey M․ <dstftw@gmail.com> | 2019-12-27 00:26:12 +0700 |
commit | 941e359e9512c1c75d42cb5b4b248816e16edb82 (patch) | |
tree | 1e68945086be8069fe1aa220e8882642a2d2ce58 | |
parent | f8a12427a9ccdb8506be64c2b56eee7f8872ac3f (diff) |
[teachable] Fail with error message if no video URL found
-rw-r--r-- | youtube_dl/extractor/teachable.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/youtube_dl/extractor/teachable.py b/youtube_dl/extractor/teachable.py index b82414c3d..6b7f13b43 100644 --- 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) |