0
0
Fork 0
mirror of https://github.com/yt-dlp/yt-dlp.git synced 2024-11-30 03:33:02 +00:00

[fc2] Recognize urls without language part (reported in #1154)

This commit is contained in:
Jaime Marquínez Ferrándiz 2014-05-31 14:45:46 +02:00
parent 386ba39cac
commit 7e8fdb1aae

View file

@ -13,7 +13,7 @@
class FC2IE(InfoExtractor): 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' IE_NAME = 'fc2'
_TEST = { _TEST = {
'url': 'http://video.fc2.com/en/content/20121103kUan1KHs', 'url': 'http://video.fc2.com/en/content/20121103kUan1KHs',