From: Sergey M․ Date: Sun, 24 May 2015 13:10:03 +0000 (+0600) Subject: [empflix] Relax _VALID_URL X-Git-Url: http://git.bitcoin.ninja/index.cgi?a=commitdiff_plain;h=34fb7e46ad3fa1a04635fa4876401aac881bb39b;p=youtube-dl [empflix] Relax _VALID_URL --- diff --git a/youtube_dl/extractor/empflix.py b/youtube_dl/extractor/empflix.py index 0dc947c1d..9a5a8f4bb 100644 --- a/youtube_dl/extractor/empflix.py +++ b/youtube_dl/extractor/empflix.py @@ -4,7 +4,7 @@ from .tnaflix import TNAFlixIE class EMPFlixIE(TNAFlixIE): - _VALID_URL = r'^https?://www\.empflix\.com/videos/(?P[0-9a-zA-Z-]+)-(?P[0-9]+)\.html' + _VALID_URL = r'https?://(?:www\.)?empflix\.com/videos/(?P.+?)-(?P[0-9]+)\.html' _TITLE_REGEX = r'name="title" value="(?P[^"]*)"' _DESCRIPTION_REGEX = r'name="description" value="([^"]*)"' @@ -23,5 +23,9 @@ class EMPFlixIE(TNAFlixIE): 'thumbnail': 're:https?://.*\.jpg$', 'age_limit': 18, } + }, + { + 'url': 'http://www.empflix.com/videos/[AROMA][ARMD-718]-Aoi-Yoshino-Sawa-25826.html', + 'matching_only': True, } ]