1
0
mirror of https://github.com/yt-dlp/yt-dlp.git synced 2024-11-02 09:12:40 +01: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