projects
/
youtube-dl
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e231afb
)
[nexx] Don't capture domain id and add support for domainless shortcuts
author
Sergey M․
<dstftw@gmail.com>
Thu, 22 Feb 2018 15:27:19 +0000
(22:27 +0700)
committer
Sergey M․
<dstftw@gmail.com>
Thu, 22 Feb 2018 15:27:19 +0000
(22:27 +0700)
youtube_dl/extractor/nexx.py
patch
|
blob
|
history
diff --git
a/youtube_dl/extractor/nexx.py
b/youtube_dl/extractor/nexx.py
index 2ad540c26668043f85d36b6074fc519a4acc61d0..129f358a2fea1a522e4f90f46a495495f237cebb 100644
(file)
--- a/
youtube_dl/extractor/nexx.py
+++ b/
youtube_dl/extractor/nexx.py
@@
-15,8
+15,8
@@
from ..utils import (
class NexxIE(InfoExtractor):
_VALID_URL = r'''(?x)
(?:
- https?://api\.nexx(?:\.cloud|cdn\.com)/v3/
(?P<domain_id>\d+)
/videos/byid/|
- nexx:(?
P<domain_id_s>\d+):
+ https?://api\.nexx(?:\.cloud|cdn\.com)/v3/
\d+
/videos/byid/|
+ nexx:(?
:\d+:)?
)
(?P<id>\d+)
'''
@@
-62,6
+62,9
@@
class NexxIE(InfoExtractor):
}, {
'url': 'nexx:748:128907',
'only_matching': True,
+ }, {
+ 'url': 'nexx:128907',
+ 'only_matching': True,
}]
@staticmethod