diff options
author | Sergey M․ <dstftw@gmail.com> | 2014-06-26 20:01:59 +0700 |
---|---|---|
committer | Sergey M․ <dstftw@gmail.com> | 2014-06-26 20:01:59 +0700 |
commit | f5172a308418a54d077e19495a5c560f2bd644e6 (patch) | |
tree | c1394d56df7a07e5615defb70ebda735e6c9ce26 /youtube_dl/extractor | |
parent | c7df67edbd84606051c84b10339302813f5b0314 (diff) |
[teachertube] Add support for new URL formats
Diffstat (limited to 'youtube_dl/extractor')
-rw-r--r-- | youtube_dl/extractor/teachertube.py | 2 |
1 files changed, 1 insertions, 1 deletions
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<id>\d+)' + _VALID_URL = r'https?://(?:www\.)?teachertube\.com/(viewVideo\.php\?video_id=|music\.php\?music_id=|video/|audio/)(?P<id>\d+)' _TESTS = [{ 'url': 'http://www.teachertube.com/viewVideo.php?video_id=339997', |