self.url += '&count=%s' % count
self._start(async)
- def filter(self, follow=None, track=None, async=False, locations=None):
+ def filter(self, follow=None, track=None, async=False, locations=None, count = None):
self.parameters = {}
self.headers['Content-type'] = "application/x-www-form-urlencoded"
if self.running:
if locations and len(locations) > 0:
assert len(locations) % 4 == 0
self.parameters['locations'] = ','.join(['%.2f' % l for l in locations])
+ if count:
+ self.parameters['count'] = count
self.body = urllib.urlencode(self.parameters)
self.parameters['delimited'] = 'length'
self._start(async)