1
0
mirror of https://github.com/ytdl-org/youtube-dl.git synced 2025-02-06 10:09:50 +00:00

Added fix for issue #24503 in espn.py

This commit is contained in:
Wang 2020-04-21 01:17:20 +08:00
parent 00eb865b3c
commit 8ff6324d65

View File

@ -20,7 +20,7 @@ class ESPNIE(OnceIE):
(?:
(?:(?:\w+\.)+)?espn\.go|
(?:www\.)?espn
)\.com/
)\.co(m|\.uk)/
(?:
(?:
video/(?:clip|iframe/twitter)|
@ -72,7 +72,7 @@ class ESPNIE(OnceIE):
'url': 'https://cdn.espn.go.com/video/clip/_/id/19771774',
'only_matching': True,
}, {
'url': 'http://www.espn.com/watch/player?id=19141491',
'url': ' ',
'only_matching': True,
}, {
'url': 'http://www.espn.com/watch/player?bucketId=257&id=19505875',
@ -98,6 +98,15 @@ class ESPNIE(OnceIE):
}, {
'url': 'http://www.espn.com/espnw/video/26066627/arkansas-gibson-completes-hr-cycle-four-innings',
'only_matching': True,
},{
'url': 'https://www.espn.co.uk/video/clip/_/id/25103188',
'only_matching': True,
},{
'url': 'https://www.espn.co.uk/video/clip/_/id/29069602',
'only_matching': True,
},{
'url': 'https://www.espn.co.uk/video/clip/_/id/19367162',
'only_matching': True,
}]
def _real_extract(self, url):