youtube-dl

Another place where youtube-dl lives on
git clone git://git.oshgnacknak.de/youtube-dl.git
Log | Files | Refs | README | LICENSE

commit 5263cdfcf9b9c8684959cdba307fd4cd7e1e0338
parent b2a68d14cf5dc0a3732ca039b3dd67c94a628be5
Author: Sergey M․ <dstftw@gmail.com>
Date:   Sat,  1 Nov 2014 04:01:58 +0700

[generic] Improve MLB iframe regex

Diffstat:
Myoutube_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 @@ -887,7 +887,7 @@ class GenericIE(InfoExtractor): return self.url_result(mobj.group('url'), 'SBS') mobj = re.search( - r'<iframe[^>]+?src=(["\'])(?P<url>https?://m\.mlb\.com/shared/video/embed/embed\.html\?.+?)\1', + r'<iframe[^>]+?src=(["\'])(?P<url>https?://m(?:lb)?\.mlb\.com/shared/video/embed/embed\.html\?.+?)\1', webpage) if mobj is not None: return self.url_result(mobj.group('url'), 'MLB')