From 72da97cb9c2017d02b896d85c778c5b3c2d4c1da Mon Sep 17 00:00:00 2001 From: Parmjit Virk Date: Sun, 2 Jul 2017 22:49:51 -0500 Subject: [PATCH] [ESPN] Extend _VALID_URL to include additional URL formats --- youtube_dl/extractor/espn.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/youtube_dl/extractor/espn.py b/youtube_dl/extractor/espn.py index 8795e0ddf..6d00ea84e 100644 --- a/youtube_dl/extractor/espn.py +++ b/youtube_dl/extractor/espn.py @@ -10,7 +10,7 @@ from ..utils import ( class ESPNIE(InfoExtractor): - _VALID_URL = r'https?://(?:espn\.go|(?:www\.)?espn)\.com/video/clip(?:\?.*?\bid=|/_/id/)(?P\d+)' + _VALID_URL = r'https?://(?:(?:(\w+\.)+)?espn\.go|(?:www\.)?espn)\.com/(?:video/clip(?:\?.*?\bid=|/_/id/)|watch/player\?.*?\bid=)(?P\d+)' _TESTS = [{ 'url': 'http://espn.go.com/video/clip?id=10365079', 'info_dict': {