1
0
Fork 0
mirror of https://github.com/ytdl-org/youtube-dl.git synced 2024-12-22 08:47:41 +00:00

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

This commit is contained in:
Sergey M․ 2018-02-22 22:31:28 +07:00
parent 9dc7ea320d
commit 0704306e1d
No known key found for this signature in database
GPG key ID: 2C393E0F18A9236D

View file

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