A feature-rich command-line audio/video downloader
[espn] Improve video id extraction (Closes #8368)
Sergey M․83ab8a79ccc3
diff --git a/youtube_dl/extractor/espn.py b/youtube_dl/extractor/espn.pyindex 3762d87489..db4b263bcb 100644--- a/youtube_dl/extractor/espn.py+++ b/youtube_dl/extractor/espn.py@@ -53,8 +53,8 @@ class ESPNIE(InfoExtractor):webpage = self._download_webpage(url, video_id)video_id = self._search_regex(- r'class="video-play-button"[^>]+data-id="(\d+)',- webpage, 'video id')+ r'class=(["\']).*?video-play-button.*?\1[^>]+data-id=["\'](?P<id>\d+)',+ webpage, 'video id', group='id')cms = 'espn'if 'data-source="intl"' in webpage: