Merge pull request #3927 from qrtt1/master
authorPhilipp Hagemeister <phihag@phihag.de>
Sat, 13 Dec 2014 11:59:12 +0000 (12:59 +0100)
committerPhilipp Hagemeister <phihag@phihag.de>
Sat, 13 Dec 2014 11:59:12 +0000 (12:59 +0100)
apply ratelimit to f4m

1  2 
youtube_dl/downloader/f4m.py

index 00f3a026c8497953059426e52a6e16c9b0813186,54dd6ac3fc55439f3a5e4b8740331f1593a5ff5f..ef3e0d5f44122621eb9252f93dd1c5471b3fcfee
@@@ -233,9 -230,9 +233,10 @@@ class F4mFD(FileDownloader)
                  'continuedl': True,
                  'quiet': True,
                  'noprogress': True,
+                 'ratelimit': self.params.get('ratelimit', None),
                  'test': self.params.get('test', False),
 -            })
 +            }
 +        )
  
          doc = etree.fromstring(manifest)
          formats = [(int(f.attrib.get('bitrate', -1)), f) for f in doc.findall(_add_ns('media'))]