1
0
Fork 0
mirror of https://gitlab.com/dstftw/youtube-dl.git synced 2020-11-16 09:42:26 +00:00

Merge pull request #3801 from megustamucho/master

[tube8] Improved regex
This commit is contained in:
Sergey M. 2014-09-21 06:29:13 +07:00
commit 516812df41

View file

@ -14,7 +14,7 @@ from ..aes import aes_decrypt_text
class Tube8IE(InfoExtractor): class Tube8IE(InfoExtractor):
_VALID_URL = r'https?://(?:www\.)?tube8\.com/(?:[^/]+/){2}(?P<id>\d+)' _VALID_URL = r'https?://(?:www\.)?tube8\.com/(?:gay/|shemale/)?(?:[^/]+/){2}(?P<id>\d+)'
_TEST = { _TEST = {
'url': 'http://www.tube8.com/teen/kasia-music-video/229795/', 'url': 'http://www.tube8.com/teen/kasia-music-video/229795/',
'md5': '44bf12b98313827dd52d35b8706a4ea0', 'md5': '44bf12b98313827dd52d35b8706a4ea0',