diff --git a/youtube_dl/extractor/teachertube.py b/youtube_dl/extractor/teachertube.py index 0f3231a91..1272078c5 100644 --- a/youtube_dl/extractor/teachertube.py +++ b/youtube_dl/extractor/teachertube.py @@ -5,8 +5,9 @@ import re from .common import InfoExtractor from ..utils import ( - qualities, determine_ext, + ExtractorError, + qualities, ) @@ -47,6 +48,12 @@ class TeacherTubeIE(InfoExtractor): video_id = self._match_id(url) webpage = self._download_webpage(url, video_id) + error = self._search_regex( + r'