1
0
Fork 0
mirror of https://github.com/yt-dlp/yt-dlp.git synced 2024-12-18 10:14:04 -05:00

Merge pull request from MikeCol/tube8

[Tube8] Extended valid urls schema
This commit is contained in:
Filippo Valsorda 2014-02-08 04:00:50 +01:00
commit 03fcf1ab57

View file

@ -11,7 +11,7 @@
)
class Tube8IE(InfoExtractor):
_VALID_URL = r'^(?:https?://)?(?:www\.)?(?P<url>tube8\.com/[^/]+/[^/]+/(?P<videoid>[0-9]+)/?)'
_VALID_URL = r'^(?:https?://)?(?:www\.)?(?P<url>tube8\.com/.+?/(?P<videoid>\d+)/?)$'
_TEST = {
u'url': u'http://www.tube8.com/teen/kasia-music-video/229795/',
u'file': u'229795.mp4',