From da12ebcc04337c3eb3c9d84dc5bfd68b4eb78158 Mon Sep 17 00:00:00 2001 From: Parmjit Virk Date: Wed, 5 Jul 2017 17:05:00 -0500 Subject: [PATCH] [ESPN] Applied third requested fixes for PR #13549 --- youtube_dl/extractor/espn.py | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/youtube_dl/extractor/espn.py b/youtube_dl/extractor/espn.py index f6b441ef6..7a7436068 100644 --- a/youtube_dl/extractor/espn.py +++ b/youtube_dl/extractor/espn.py @@ -17,8 +17,14 @@ class ESPNIE(InfoExtractor): (?:www\.)?espn )\.com/ (?: - video/clip(?:\?.*?\bid=|/_/id/)| - watch/player(?:\?.*?\bid=|/_/id/) + (?: + video/clip| + watch/player + ) + (?: + \?.*?\bid=| + /_/id/ + ) ) (?P\d+) '''