X-Git-Url: http://git.bitcoin.ninja/index.cgi?a=blobdiff_plain;f=youtube_dl%2Fextractor%2Fteachertube.py;h=1272078c50b8703aa906e055fc57842078542e95;hb=84213ea8d41d5fe1608333a16ac578dccdf9a915;hp=0f3231a9125b0f8ddef32319c2f5a5ce540df994;hpb=837b0617100f20b40a4b831439263c131a59aadb;p=youtube-dl 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'