+ min_sleep_interval = self.params.get('sleep_interval')
+ if min_sleep_interval:
+ max_sleep_interval = self.params.get('max_sleep_interval', min_sleep_interval)
+ print(min_sleep_interval, max_sleep_interval)
+ sleep_interval = random.uniform(min_sleep_interval, max_sleep_interval)