Explorar o código

[fc2] Relax _VALID_URL (Closes #3171)

Sergey M․ %!s(int64=10) %!d(string=hai) anos
pai
achega
93462856e1
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      youtube_dl/extractor/fc2.py

+ 1 - 1
youtube_dl/extractor/fc2.py

@@ -15,7 +15,7 @@ from ..utils import (
 
 
 
 
 class FC2IE(InfoExtractor):
 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'
     IE_NAME = 'fc2'
     _NETRC_MACHINE = 'fc2'
     _NETRC_MACHINE = 'fc2'
     _TESTS = [{
     _TESTS = [{