aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergey M․ <dstftw@gmail.com>2018-02-22 22:31:28 +0700
committerSergey M․ <dstftw@gmail.com>2018-02-22 22:31:28 +0700
commit0704306e1daa52a825e8b37af0693d83571d9c62 (patch)
tree889ff9847824b7e21df76e80d3807adae90e1864
parent9dc7ea320d413dd42e8df565858f6adeadd215f3 (diff)
[nexx] Add support for arc.nexx.cloud URLs
-rw-r--r--youtube_dl/extractor/nexx.py6
1 files changed, 5 insertions, 1 deletions
diff --git a/youtube_dl/extractor/nexx.py b/youtube_dl/extractor/nexx.py
index 129f358a2..0a8d844d4 100644
--- 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