projects
/
youtube-dl
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9dc7ea3
)
[nexx] Add support for arc.nexx.cloud URLs
author
Sergey M․
<dstftw@gmail.com>
Thu, 22 Feb 2018 15:31:28 +0000
(22:31 +0700)
committer
Sergey M․
<dstftw@gmail.com>
Thu, 22 Feb 2018 15:31:28 +0000
(22:31 +0700)
youtube_dl/extractor/nexx.py
patch
|
blob
|
history
diff --git
a/youtube_dl/extractor/nexx.py
b/youtube_dl/extractor/nexx.py
index 129f358a2fea1a522e4f90f46a495495f237cebb..0a8d844d4ee25d8a632c655c386aac9a6d73f470 100644
(file)
--- 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