]>
Commit | Line | Data |
---|---|---|
65314dcc PH |
1 | from __future__ import unicode_literals |
2 | ||
a232bb95 | 3 | from .tnaflix import TNAFlixIE |
877bea9c | 4 | |
877bea9c | 5 | |
a232bb95 | 6 | class EMPFlixIE(TNAFlixIE): |
34fb7e46 | 7 | _VALID_URL = r'https?://(?:www\.)?empflix\.com/videos/(?P<display_id>.+?)-(?P<id>[0-9]+)\.html' |
a232bb95 S |
8 | |
9 | _TITLE_REGEX = r'name="title" value="(?P<title>[^"]*)"' | |
10 | _DESCRIPTION_REGEX = r'name="description" value="([^"]*)"' | |
11 | _CONFIG_REGEX = r'flashvars\.config\s*=\s*escape\("([^"]+)"' | |
65314dcc | 12 | |
ed5a637d | 13 | _TESTS = [ |
14 | { | |
15 | 'url': 'http://www.empflix.com/videos/Amateur-Finger-Fuck-33051.html', | |
16 | 'md5': 'b1bc15b6412d33902d6e5952035fcabc', | |
17 | 'info_dict': { | |
18 | 'id': '33051', | |
19 | 'display_id': 'Amateur-Finger-Fuck', | |
20 | 'ext': 'mp4', | |
21 | 'title': 'Amateur Finger Fuck', | |
22 | 'description': 'Amateur solo finger fucking.', | |
23 | 'thumbnail': 're:https?://.*\.jpg$', | |
24 | 'age_limit': 18, | |
25 | } | |
34fb7e46 S |
26 | }, |
27 | { | |
28 | 'url': 'http://www.empflix.com/videos/[AROMA][ARMD-718]-Aoi-Yoshino-Sawa-25826.html', | |
3ce9bc71 | 29 | 'only_matching': True, |
877bea9c | 30 | } |
ed5a637d | 31 | ] |