]> gitweb @ CieloNegro.org - youtube-dl.git/commitdiff
[fc2] Relax _VALID_URL (Closes #3171)
authorSergey M․ <dstftw@gmail.com>
Mon, 31 Aug 2015 15:05:23 +0000 (21:05 +0600)
committerSergey M․ <dstftw@gmail.com>
Mon, 31 Aug 2015 15:05:23 +0000 (21:05 +0600)
youtube_dl/extractor/fc2.py

index e4f7195a8ab345175b8d474a17955c5d015071d1..1c6dc5bd939d4f9ddadc415eea5c788516d36513 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 = [{