diff options
author | Remita Amine <remitamine@gmail.com> | 2019-03-01 15:34:05 +0100 |
---|---|---|
committer | Remita Amine <remitamine@gmail.com> | 2019-03-01 15:34:05 +0100 |
commit | 398e1e21d6cbf6eb1e8e7e84de4fad30b7d59613 (patch) | |
tree | 3f35ab30eeb76f884b3545868a294e03b2474242 /youtube_dl/extractor | |
parent | c5b02efe20cff1612104fd731c7f02cbbce4f5f3 (diff) |
[espn] extend _VALID_URL regex(closes #20013)
Diffstat (limited to 'youtube_dl/extractor')
-rw-r--r-- | youtube_dl/extractor/espn.py | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/youtube_dl/extractor/espn.py b/youtube_dl/extractor/espn.py index 127c69b2e..8cc9bd165 100644 --- a/youtube_dl/extractor/espn.py +++ b/youtube_dl/extractor/espn.py @@ -29,7 +29,8 @@ class ESPNIE(OnceIE): (?: .*?\?.*?\bid=| /_/id/ - ) + )| + [^/]+/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', '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): |