[generic] Prevent from downloading a .swf as a video
authorPhilipp Hagemeister <phihag@phihag.de>
Sun, 24 Aug 2014 00:24:47 +0000 (02:24 +0200)
committerPhilipp Hagemeister <phihag@phihag.de>
Sun, 24 Aug 2014 00:24:49 +0000 (02:24 +0200)
commitfa8deaf38b0d576d693a6565dcdb3b29877a4c94
tree589dcd2f2262463e4ebe24449377172f940408be
parent685759005919d004dd82acfc4ed88ea60de6111a
[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.
youtube_dl/extractor/generic.py