projects
/
youtube-dl
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
[ard] Remove age restriction check (closes #11129)
[youtube-dl]
/
youtube_dl
/
extractor
/
espn.py
diff --git
a/youtube_dl/extractor/espn.py
b/youtube_dl/extractor/espn.py
index 66c08bec47d8aa639cf758bb3e083b9772230c76..6d10f8e68bc1afa3278b242fd1e37db2d45704f8 100644
(file)
--- a/
youtube_dl/extractor/espn.py
+++ b/
youtube_dl/extractor/espn.py
@@
-5,7
+5,7
@@
from ..utils import remove_end
class ESPNIE(InfoExtractor):
class ESPNIE(InfoExtractor):
- _VALID_URL = r'https?://
espn\.go
\.com/(?:[^/]+/)*(?P<id>[^/]+)'
+ _VALID_URL = r'https?://
(?:espn\.go|(?:www\.)?espn)
\.com/(?:[^/]+/)*(?P<id>[^/]+)'
_TESTS = [{
'url': 'http://espn.go.com/video/clip?id=10365079',
'md5': '60e5d097a523e767d06479335d1bdc58',
_TESTS = [{
'url': 'http://espn.go.com/video/clip?id=10365079',
'md5': '60e5d097a523e767d06479335d1bdc58',
@@
-47,6
+47,9
@@
class ESPNIE(InfoExtractor):
}, {
'url': 'http://espn.go.com/nba/playoffs/2015/story/_/id/12887571/john-wall-washington-wizards-no-swelling-left-hand-wrist-game-5-return',
'only_matching': True,
}, {
'url': 'http://espn.go.com/nba/playoffs/2015/story/_/id/12887571/john-wall-washington-wizards-no-swelling-left-hand-wrist-game-5-return',
'only_matching': True,
+ }, {
+ 'url': 'http://www.espn.com/video/clip?id=10365079',
+ 'only_matching': True,
}]
def _real_extract(self, url):
}]
def _real_extract(self, url):