summary refs log tree commit diff
diff options
context:
space:
mode:
authorSergey M․ <dstftw@gmail.com>2015-05-24 19:10:03 +0600
committerSergey M․ <dstftw@gmail.com>2015-05-24 19:11:40 +0600
commit34fb7e46ad3fa1a04635fa4876401aac881bb39b (patch)
tree6bfc516d08efcd5bef4e404398ca1c8fb972e877
parentabac15f3c6915d176c37f7aa748b8a0f03db82a0 (diff)
downloadyoutube-dl-34fb7e46ad3fa1a04635fa4876401aac881bb39b.tar.gz
youtube-dl-34fb7e46ad3fa1a04635fa4876401aac881bb39b.tar.xz
youtube-dl-34fb7e46ad3fa1a04635fa4876401aac881bb39b.zip
[empflix] Relax _VALID_URL
-rw-r--r--youtube_dl/extractor/empflix.py6
1 files changed, 5 insertions, 1 deletions
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<display_id>[0-9a-zA-Z-]+)-(?P<id>[0-9]+)\.html'
+    _VALID_URL = r'https?://(?:www\.)?empflix\.com/videos/(?P<display_id>.+?)-(?P<id>[0-9]+)\.html'
 
     _TITLE_REGEX = r'name="title" value="(?P<title>[^"]*)"'
     _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,
         }
     ]