projects
/
youtube-dl
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
[novamov] Generalize extractor
[youtube-dl]
/
youtube_dl
/
extractor
/
tube8.py
diff --git
a/youtube_dl/extractor/tube8.py
b/youtube_dl/extractor/tube8.py
index d4b7603c7c96a5da148ff50869559b0ff0c11a0f..3ec9442c9392fe6168d315925ee83f0df6222b5d 100644
(file)
--- a/
youtube_dl/extractor/tube8.py
+++ b/
youtube_dl/extractor/tube8.py
@@
-5,15
+5,13
@@
from .common import InfoExtractor
from ..utils import (
compat_urllib_parse_urlparse,
compat_urllib_request,
from ..utils import (
compat_urllib_parse_urlparse,
compat_urllib_request,
- compat_urllib_parse,
- unescapeHTML,
)
from ..aes import (
aes_decrypt_text
)
class Tube8IE(InfoExtractor):
)
from ..aes import (
aes_decrypt_text
)
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',
_TEST = {
u'url': u'http://www.tube8.com/teen/kasia-music-video/229795/',
u'file': u'229795.mp4',