mirror of
https://github.com/l1ving/youtube-dl
synced 2024-11-22 04:42:54 +08:00
[teachertube] Add support for new URL formats
This commit is contained in:
parent
c7df67edbd
commit
f5172a3084
@ -14,7 +14,7 @@ class TeacherTubeIE(InfoExtractor):
|
|||||||
IE_NAME = 'teachertube'
|
IE_NAME = 'teachertube'
|
||||||
IE_DESC = 'teachertube.com videos'
|
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 = [{
|
_TESTS = [{
|
||||||
'url': 'http://www.teachertube.com/viewVideo.php?video_id=339997',
|
'url': 'http://www.teachertube.com/viewVideo.php?video_id=339997',
|
||||||
|
Loading…
Reference in New Issue
Block a user