[nexx] Add support for arc.nexx.cloud URLs

pull/2/head
Sergey M․ 7 years ago
parent 9dc7ea320d
commit 0704306e1d
No known key found for this signature in database
GPG Key ID: 2C393E0F18A9236D

@ -16,7 +16,8 @@ class NexxIE(InfoExtractor):
_VALID_URL = r'''(?x) _VALID_URL = r'''(?x)
(?: (?:
https?://api\.nexx(?:\.cloud|cdn\.com)/v3/\d+/videos/byid/| https?://api\.nexx(?:\.cloud|cdn\.com)/v3/\d+/videos/byid/|
nexx:(?:\d+:)? nexx:(?:\d+:)?|
https?://arc\.nexx\.cloud/api/video/
) )
(?P<id>\d+) (?P<id>\d+)
''' '''
@ -65,6 +66,9 @@ class NexxIE(InfoExtractor):
}, { }, {
'url': 'nexx:128907', 'url': 'nexx:128907',
'only_matching': True, 'only_matching': True,
}, {
'url': 'https://arc.nexx.cloud/api/video/128907.json',
'only_matching': True,
}] }]
@staticmethod @staticmethod

Loading…
Cancel
Save