]> jfr.im git - yt-dlp.git/blame - youtube_dl/extractor/empflix.py
[vimeo] Fix password protected videos again (#5082)
[yt-dlp.git] / youtube_dl / extractor / empflix.py
CommitLineData
65314dcc
PH
1from __future__ import unicode_literals
2
a232bb95 3from .tnaflix import TNAFlixIE
877bea9c 4
877bea9c 5
a232bb95
S
6class EMPFlixIE(TNAFlixIE):
7 _VALID_URL = r'^https?://www\.empflix\.com/videos/(?P<display_id>[0-9a-zA-Z-]+)-(?P<id>[0-9]+)\.html'
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
877bea9c 13 _TEST = {
65314dcc 14 'url': 'http://www.empflix.com/videos/Amateur-Finger-Fuck-33051.html',
b1e6f559 15 'md5': 'b1bc15b6412d33902d6e5952035fcabc',
65314dcc
PH
16 'info_dict': {
17 'id': '33051',
a232bb95 18 'display_id': 'Amateur-Finger-Fuck',
b1e6f559 19 'ext': 'mp4',
65314dcc 20 'title': 'Amateur Finger Fuck',
b1e6f559 21 'description': 'Amateur solo finger fucking.',
a232bb95 22 'thumbnail': 're:https?://.*\.jpg$',
65314dcc 23 'age_limit': 18,
877bea9c 24 }
25 }