From: Sergey M․ Date: Thu, 26 Jun 2014 13:01:59 +0000 (+0700) Subject: [teachertube] Add support for new URL formats X-Git-Url: http://git.oshgnacknak.de/?a=commitdiff_plain;h=f5172a308418a54d077e19495a5c560f2bd644e6;p=youtube-dl [teachertube] Add support for new URL formats --- diff --git a/youtube_dl/extractor/teachertube.py b/youtube_dl/extractor/teachertube.py index c9a3fe571..d9868d569 100644 --- a/youtube_dl/extractor/teachertube.py +++ b/youtube_dl/extractor/teachertube.py @@ -14,7 +14,7 @@ class TeacherTubeIE(InfoExtractor): IE_NAME = 'teachertube' IE_DESC = 'teachertube.com videos' - _VALID_URL = r'https?://(?:www\.)?teachertube\.com/(viewVideo\.php\?video_id=|music\.php\?music_id=)(?P\d+)' + _VALID_URL = r'https?://(?:www\.)?teachertube\.com/(viewVideo\.php\?video_id=|music\.php\?music_id=|video/|audio/)(?P\d+)' _TESTS = [{ 'url': 'http://www.teachertube.com/viewVideo.php?video_id=339997',