From: MikeCol Date: Fri, 7 Feb 2014 23:09:26 +0000 (+0100) Subject: Extended valid urls schema X-Git-Url: http://git.oshgnacknak.de/?a=commitdiff_plain;h=3b00dea5eb53e99c3f482b65aa152a418636c126;p=youtube-dl Extended valid urls schema --- diff --git a/youtube_dl/extractor/tube8.py b/youtube_dl/extractor/tube8.py index 4d9d41db3..3ec9442c9 100644 --- a/youtube_dl/extractor/tube8.py +++ b/youtube_dl/extractor/tube8.py @@ -11,7 +11,7 @@ from ..aes import ( ) class Tube8IE(InfoExtractor): - _VALID_URL = r'^(?:https?://)?(?:www\.)?(?Ptube8\.com/[^/]+/[^/]+/(?P[0-9]+)/?)' + _VALID_URL = r'^(?:https?://)?(?:www\.)?(?Ptube8\.com/.+?/(?P\d+)/?)$' _TEST = { u'url': u'http://www.tube8.com/teen/kasia-music-video/229795/', u'file': u'229795.mp4',