[videott] improve extraction
authorIrfan Charania <irfan.charania@gmail.com>
Sat, 24 Jan 2015 01:41:07 +0000 (17:41 -0800)
committerIrfan Charania <irfan.charania@gmail.com>
Sat, 24 Jan 2015 01:41:07 +0000 (17:41 -0800)
youtube_dl/extractor/videott.py

index 1f938838cc9247e9e80c8ce32911cb40954c1830..6f8084140f30d41f4b7c7e8ab7e6af2c97dbd89b 100644 (file)
@@ -13,7 +13,7 @@ from ..utils import (
 class VideoTtIE(InfoExtractor):
     ID_NAME = 'video.tt'
     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 = {
         'url': 'http://www.video.tt/watch_video.php?v=amd5YujV8',