Browse Source

Extended valid urls schema

totalwebcasting
MikeCol 11 years ago
parent
commit
3b00dea5eb
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      youtube_dl/extractor/tube8.py

+ 1
- 1
youtube_dl/extractor/tube8.py View File

@ -11,7 +11,7 @@ from ..aes import (
) )
class Tube8IE(InfoExtractor): 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 = { _TEST = {
u'url': u'http://www.tube8.com/teen/kasia-music-video/229795/', u'url': u'http://www.tube8.com/teen/kasia-music-video/229795/',
u'file': u'229795.mp4', u'file': u'229795.mp4',


Loading…
Cancel
Save