]> git.bitcoin.ninja Git - youtube-dl/blobdiff - youtube_dl/extractor/fc2.py
[fc2] Add test for #3171
[youtube-dl] / youtube_dl / extractor / fc2.py
index e4f7195a8ab345175b8d474a17955c5d015071d1..2443846c83808a6cc55c051d48aa8bb4f32ef491 100644 (file)
@@ -15,7 +15,7 @@ from ..utils import (
 
 
 class FC2IE(InfoExtractor):
-    _VALID_URL = r'^http://video\.fc2\.com/(?:[^/]+/)?content/(?P<id>[^/]+)'
+    _VALID_URL = r'^http://video\.fc2\.com/(?:[^/]+/)*content/(?P<id>[^/]+)'
     IE_NAME = 'fc2'
     _NETRC_MACHINE = 'fc2'
     _TESTS = [{
@@ -37,6 +37,9 @@ class FC2IE(InfoExtractor):
             'password': '(snip)',
             'skip': 'requires actual password'
         }
+    }, {
+        'url': 'http://video.fc2.com/en/a/content/20130926eZpARwsF',
+        'only_matching': True,
     }]
 
     def _login(self):