From: Jaime Marquínez Ferrándiz Date: Thu, 13 Jun 2013 06:26:39 +0000 (+0200) Subject: GenericIE: try to find videos from twitter cards info X-Git-Url: http://git.oshgnacknak.de/?a=commitdiff_plain;h=fb8f7280bce30d45009c429f0095a9d15cbc9de2;p=youtube-dl GenericIE: try to find videos from twitter cards info --- diff --git a/youtube_dl/InfoExtractors.py b/youtube_dl/InfoExtractors.py index 282334635..33ba0fdd1 100755 --- a/youtube_dl/InfoExtractors.py +++ b/youtube_dl/InfoExtractors.py @@ -1373,6 +1373,9 @@ class GenericIE(InfoExtractor): 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) + if mobj is None: + # Try to find twitter cards info + mobj = re.search(r'