[espn] extend _VALID_URL regex(closes #20013)
This commit is contained in:
parent
c5b02efe20
commit
398e1e21d6
|
@ -29,7 +29,8 @@ class ESPNIE(OnceIE):
|
||||||
(?:
|
(?:
|
||||||
.*?\?.*?\bid=|
|
.*?\?.*?\bid=|
|
||||||
/_/id/
|
/_/id/
|
||||||
)
|
)|
|
||||||
|
[^/]+/video/
|
||||||
)
|
)
|
||||||
)|
|
)|
|
||||||
(?:www\.)espnfc\.(?:com|us)/(?:video/)?[^/]+/\d+/video/
|
(?:www\.)espnfc\.(?:com|us)/(?:video/)?[^/]+/\d+/video/
|
||||||
|
@ -94,6 +95,9 @@ class ESPNIE(OnceIE):
|
||||||
}, {
|
}, {
|
||||||
'url': 'http://www.espnfc.com/english-premier-league/23/video/3324163/premier-league-in-90-seconds-golden-tweets',
|
'url': 'http://www.espnfc.com/english-premier-league/23/video/3324163/premier-league-in-90-seconds-golden-tweets',
|
||||||
'only_matching': True,
|
'only_matching': True,
|
||||||
|
}, {
|
||||||
|
'url': 'http://www.espn.com/espnw/video/26066627/arkansas-gibson-completes-hr-cycle-four-innings',
|
||||||
|
'only_matching': True,
|
||||||
}]
|
}]
|
||||||
|
|
||||||
def _real_extract(self, url):
|
def _real_extract(self, url):
|
||||||
|
|
Loading…
Reference in New Issue