Merge pull request #4771 from irfancharania/videott

[videott] improve extraction
This commit is contained in:
Sergey M. 2015-01-24 16:07:42 +06:00
commit 27de5625d4

View File

@ -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',