mirror of
https://github.com/alecmuffett/real-world-onion-sites.git
synced 2024-12-28 16:49:24 -05:00
commit: make 5 attempts
This commit is contained in:
parent
fdfd9224cb
commit
2ef9874d69
@ -148,7 +148,7 @@ class URL:
|
||||
))
|
||||
|
||||
def fetchwrap(self):
|
||||
for i in [ 1, 2, 3 ]:
|
||||
for i in range(5):
|
||||
self.fetch1()
|
||||
print('try{0}: {1} {2}'.format(i, self.url, self.last_code))
|
||||
if self.last_code < BADNESS: return
|
||||
|
Loading…
Reference in New Issue
Block a user