projects
/
youtube-dl
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c5b02ef
)
[espn] extend _VALID_URL regex(closes #20013)
author
Remita Amine
<remitamine@gmail.com>
Fri, 1 Mar 2019 14:34:05 +0000
(15:34 +0100)
committer
Remita Amine
<remitamine@gmail.com>
Fri, 1 Mar 2019 14:34:05 +0000
(15:34 +0100)
youtube_dl/extractor/espn.py
patch
|
blob
|
history
diff --git
a/youtube_dl/extractor/espn.py
b/youtube_dl/extractor/espn.py
index 127c69b2eb668b85236eccfaccc63dcb7dd9d714..8cc9bd165a96185b264e6e5976ae347fe02e2437 100644
(file)
--- 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):