aboutsummaryrefslogtreecommitdiff
path: root/youtube_dl/extractor/fc2.py
diff options
context:
space:
mode:
authorJaime Marquínez Ferrándiz <jaime.marquinez.ferrandiz@gmail.com>2014-05-31 14:45:46 +0200
committerJaime Marquínez Ferrándiz <jaime.marquinez.ferrandiz@gmail.com>2014-05-31 14:45:46 +0200
commit7e8fdb1aaeced1caf3c8c5365b32d4535d1d434e (patch)
tree76aee07be4fad947127ed5a45c62adbe1507a5b2 /youtube_dl/extractor/fc2.py
parent386ba39cac2f5ab614366d17c32e69d1cfb644a2 (diff)
[fc2] Recognize urls without language part (reported in #1154)
Diffstat (limited to 'youtube_dl/extractor/fc2.py')
-rw-r--r--youtube_dl/extractor/fc2.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/youtube_dl/extractor/fc2.py b/youtube_dl/extractor/fc2.py
index fe1cf052c..18f91efac 100644
--- a/youtube_dl/extractor/fc2.py
+++ b/youtube_dl/extractor/fc2.py
@@ -13,7 +13,7 @@ from ..utils import (
class FC2IE(InfoExtractor):
- _VALID_URL = r'^http://video\.fc2\.com/(?P<lang>[^/]+)/content/(?P<id>[^/]+)'
+ _VALID_URL = r'^http://video\.fc2\.com/((?P<lang>[^/]+)/)?content/(?P<id>[^/]+)'
IE_NAME = 'fc2'
_TEST = {
'url': 'http://video.fc2.com/en/content/20121103kUan1KHs',