mirror of
https://source.netsyms.com/Mirrors/youtube-dl
synced 2024-11-03 03:40:20 +00:00
[nhl.com:videocenter] Don't match url with 'id=*' before 'catid' in the query
Since the order extractors are added is not defined, it would match instead of NHLIE.
This commit is contained in:
parent
c492970b4b
commit
ea2ee40357
@ -90,7 +90,7 @@ class NHLIE(NHLBaseInfoExtractor):
|
|||||||
class NHLVideocenterIE(NHLBaseInfoExtractor):
|
class NHLVideocenterIE(NHLBaseInfoExtractor):
|
||||||
IE_NAME = 'nhl.com:videocenter'
|
IE_NAME = 'nhl.com:videocenter'
|
||||||
IE_DESC = 'NHL videocenter category'
|
IE_DESC = 'NHL videocenter category'
|
||||||
_VALID_URL = r'https?://video\.(?P<team>[^.]*)\.nhl\.com/videocenter/(console\?.*?catid=(?P<catid>[0-9]+)(?![&?]id=).*?)?$'
|
_VALID_URL = r'https?://video\.(?P<team>[^.]*)\.nhl\.com/videocenter/(console\?[^(id=)]*catid=(?P<catid>[0-9]+)(?![&?]id=).*?)?$'
|
||||||
_TEST = {
|
_TEST = {
|
||||||
'url': 'http://video.canucks.nhl.com/videocenter/console?catid=999',
|
'url': 'http://video.canucks.nhl.com/videocenter/console?catid=999',
|
||||||
'info_dict': {
|
'info_dict': {
|
||||||
|
Loading…
Reference in New Issue
Block a user