forked from minhngoc25a/yt-dlc
[nexx] Add support for arc.nexx.cloud URLs
This commit is contained in:
parent
9dc7ea320d
commit
0704306e1d
|
@ -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…
Reference in New Issue