]> Raphaƫl G. Git Repositories - youtubedl/blob - youtube_dl/extractor/empflix.py
Annotate changelog bug being closed.
[youtubedl] / youtube_dl / extractor / empflix.py
1 from __future__ import unicode_literals
2
3 from .tnaflix import TNAFlixIE
4
5
6 class 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\("([^"]+)"'
12
13 _TEST = {
14 'url': 'http://www.empflix.com/videos/Amateur-Finger-Fuck-33051.html',
15 'md5': 'b1bc15b6412d33902d6e5952035fcabc',
16 'info_dict': {
17 'id': '33051',
18 'display_id': 'Amateur-Finger-Fuck',
19 'ext': 'mp4',
20 'title': 'Amateur Finger Fuck',
21 'description': 'Amateur solo finger fucking.',
22 'thumbnail': 're:https?://.*\.jpg$',
23 'age_limit': 18,
24 }
25 }