Skip to content

Commit

Permalink
更改默认 speed 为 -1
Browse files Browse the repository at this point in the history
  • Loading branch information
awolfly9 committed Feb 16, 2017
1 parent 567f462 commit 79399d4
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions ipproxytool/spiders/proxy/basespider.py
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,7 @@ def error_parse(self, failure):
pass

def add_proxy(self, proxy):
proxy.speed = -1
utils.sql_insert_proxy(self.sql, config.free_ipproxy_table, proxy)

def write(self, data):
Expand Down

0 comments on commit 79399d4

Please sign in to comment.