commit: 0704306e1daa52a825e8b37af0693d83571d9c62
parent 9dc7ea320d413dd42e8df565858f6adeadd215f3
Author: Sergey M․ <dstftw@gmail.com>
Date: Thu, 22 Feb 2018 22:31:28 +0700
[nexx] Add support for arc.nexx.cloud URLs
Diffstat:
1 file changed, 5 insertions(+), 1 deletion(-)
diff --git a/youtube_dl/extractor/nexx.py b/youtube_dl/extractor/nexx.py
@@ -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