fix proxy conditional statement
This commit is contained in:
parent
f54e01581c
commit
4ae6cd24c0
@ -45,7 +45,9 @@ class DuckDuckGo(object):
|
|||||||
proxy_dict = self._proxy_to_dict(proxy)
|
proxy_dict = self._proxy_to_dict(proxy)
|
||||||
|
|
||||||
self.falitures += 1
|
self.falitures += 1
|
||||||
if self.falitures > 0.95 * len(self.proxy_obj.proxies):
|
total_nr_of_proxies = len(
|
||||||
|
self.proxy_obj.proxies) + self.falitures
|
||||||
|
if self.falitures > 0.95 * total_nr_ofproxies:
|
||||||
if self.download:
|
if self.download:
|
||||||
self.download_proxies()
|
self.download_proxies()
|
||||||
self.download = False
|
self.download = False
|
||||||
|
@ -1 +0,0 @@
|
|||||||
http://www.adamowice.katowice.opoka.org.pl/
|
|
Loading…
Reference in New Issue
Block a user