2014-05-13 18:14:05 +10:00
|
|
|
from __future__ import unicode_literals
|
|
|
|
|
2014-09-04 00:08:36 +10:00
|
|
|
from .tnaflix import TNAFlixIE
|
2014-05-12 21:10:29 +10:00
|
|
|
|
|
|
|
|
2014-09-04 00:08:36 +10:00
|
|
|
class EMPFlixIE(TNAFlixIE):
|
2015-05-24 23:10:03 +10:00
|
|
|
_VALID_URL = r'https?://(?:www\.)?empflix\.com/videos/(?P<display_id>.+?)-(?P<id>[0-9]+)\.html'
|
2014-09-04 00:08:36 +10:00
|
|
|
|
|
|
|
_TITLE_REGEX = r'name="title" value="(?P<title>[^"]*)"'
|
|
|
|
_DESCRIPTION_REGEX = r'name="description" value="([^"]*)"'
|
|
|
|
_CONFIG_REGEX = r'flashvars\.config\s*=\s*escape\("([^"]+)"'
|
2014-05-13 18:14:05 +10:00
|
|
|
|
2015-05-22 17:29:35 +10:00
|
|
|
_TESTS = [
|
|
|
|
{
|
|
|
|
'url': 'http://www.empflix.com/videos/Amateur-Finger-Fuck-33051.html',
|
|
|
|
'md5': 'b1bc15b6412d33902d6e5952035fcabc',
|
|
|
|
'info_dict': {
|
|
|
|
'id': '33051',
|
|
|
|
'display_id': 'Amateur-Finger-Fuck',
|
|
|
|
'ext': 'mp4',
|
|
|
|
'title': 'Amateur Finger Fuck',
|
|
|
|
'description': 'Amateur solo finger fucking.',
|
|
|
|
'thumbnail': 're:https?://.*\.jpg$',
|
|
|
|
'age_limit': 18,
|
|
|
|
}
|
2015-05-24 23:10:03 +10:00
|
|
|
},
|
|
|
|
{
|
|
|
|
'url': 'http://www.empflix.com/videos/[AROMA][ARMD-718]-Aoi-Yoshino-Sawa-25826.html',
|
2015-06-05 00:39:03 +10:00
|
|
|
'only_matching': True,
|
2014-05-12 21:10:29 +10:00
|
|
|
}
|
2015-05-22 17:29:35 +10:00
|
|
|
]
|