From: Philipp Hagemeister Date: Sun, 24 Aug 2014 00:24:47 +0000 (+0200) Subject: [generic] Prevent from downloading a .swf as a video X-Git-Url: http://git.oshgnacknak.de/?a=commitdiff_plain;h=fa8deaf38b0d576d693a6565dcdb3b29877a4c94;p=youtube-dl [generic] Prevent from downloading a .swf as a video We're seeing quite a number of people who do not put a video file in the og:video field, but the player URL. Try to detect some of these and filter them out. --- diff --git a/youtube_dl/extractor/generic.py b/youtube_dl/extractor/generic.py index 2ba86878b..5bd315051 100644 --- a/youtube_dl/extractor/generic.py +++ b/youtube_dl/extractor/generic.py @@ -831,7 +831,12 @@ class GenericIE(InfoExtractor): m_video_type = re.findall(r'.*?