mirror of
https://github.com/l1ving/youtube-dl
synced 2024-12-21 22:52:52 +08:00
[videott] improve extraction
This commit is contained in:
parent
222516d97d
commit
6aa4f54d66
@ -13,7 +13,7 @@ from ..utils import (
|
|||||||
class VideoTtIE(InfoExtractor):
|
class VideoTtIE(InfoExtractor):
|
||||||
ID_NAME = 'video.tt'
|
ID_NAME = 'video.tt'
|
||||||
IE_DESC = 'video.tt - Your True Tube'
|
IE_DESC = 'video.tt - Your True Tube'
|
||||||
_VALID_URL = r'http://(?:www\.)?video\.tt/(?:video/|watch_video\.php\?v=)(?P<id>[\da-zA-Z]{9})'
|
_VALID_URL = r'http://(?:www\.)?video\.tt/(?:video\/|embed\/|watch_video\.php\?v=)(?P<id>[\da-zA-Z]{9})'
|
||||||
|
|
||||||
_TEST = {
|
_TEST = {
|
||||||
'url': 'http://www.video.tt/watch_video.php?v=amd5YujV8',
|
'url': 'http://www.video.tt/watch_video.php?v=amd5YujV8',
|
||||||
|
Loading…
Reference in New Issue
Block a user