From: Philipp Hagemeister Date: Mon, 25 Nov 2013 02:35:52 +0000 (+0100) Subject: [generic] Improve detection X-Git-Url: http://git.oshgnacknak.de/?a=commitdiff_plain;h=113577e155b10d6775f38e00b897f8e1d743a17e;p=youtube-dl [generic] Improve detection Allow download of http://goo.gl/7X5tOk Fixes #1818 --- diff --git a/youtube_dl/extractor/generic.py b/youtube_dl/extractor/generic.py index 0b5f2b2bb..37671430a 100644 --- a/youtube_dl/extractor/generic.py +++ b/youtube_dl/extractor/generic.py @@ -209,7 +209,7 @@ class GenericIE(InfoExtractor): mobj = re.search(r'[^A-Za-z0-9]?(?:file|source)=(http[^\'"&]*)', webpage) if mobj is None: # Broaden the search a little bit: JWPlayer JS loader - mobj = re.search(r'[^A-Za-z0-9]?file["\']?:\s*["\'](http[^\'"&]*)', webpage) + mobj = re.search(r'[^A-Za-z0-9]?file["\']?:\s*["\'](http[^\'"]*)', webpage) if mobj is None: # Try to find twitter cards info mobj = re.search(r'