From 5263cdfcf9b9c8684959cdba307fd4cd7e1e0338 Mon Sep 17 00:00:00 2001 From: Sergey M․ Date: Sat, 1 Nov 2014 04:01:58 +0700 Subject: [generic] Improve MLB iframe regex --- youtube_dl/extractor/generic.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/youtube_dl/extractor/generic.py b/youtube_dl/extractor/generic.py index a27ec342e..3882e859c 100644 --- a/youtube_dl/extractor/generic.py +++ b/youtube_dl/extractor/generic.py @@ -887,7 +887,7 @@ class GenericIE(InfoExtractor): return self.url_result(mobj.group('url'), 'SBS') mobj = re.search( - r']+?src=(["\'])(?Phttps?://m\.mlb\.com/shared/video/embed/embed\.html\?.+?)\1', + r']+?src=(["\'])(?Phttps?://m(?:lb)?\.mlb\.com/shared/video/embed/embed\.html\?.+?)\1', webpage) if mobj is not None: return self.url_result(mobj.group('url'), 'MLB') -- cgit v1.2.3