discard urls who fail at first test
This commit is contained in:
5
ppf.py
5
ppf.py
@@ -165,7 +165,10 @@ def proxyleech(sqlite, rows):
|
||||
hash = hashlib.md5(''.join(uniques)).hexdigest()
|
||||
|
||||
## empty list of proxies: multiply error by two
|
||||
if not len(uniques): row[2] = (row[2] * 2)
|
||||
if not len(uniques):
|
||||
if row[1]: row[2] = (row[2] * 2)
|
||||
else: row[2] = 99999
|
||||
|
||||
## same proxy list: increment error by one
|
||||
elif hash == row[1]: row[2] = (row[2] + 1)
|
||||
## proxylist was updated: error is zero
|
||||
|
||||
Reference in New Issue
Block a user