mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2024-11-12 10:11:07 +01:00
[nexx] Don't capture domain id and add support for domainless shortcuts
This commit is contained in:
parent
e231afb14f
commit
9dc7ea320d
@ -15,8 +15,8 @@
|
||||
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
|
||||
|
Loading…
Reference in New Issue
Block a user