commit: make 5 attempts

This commit is contained in:
Alec Muffett 2019-11-16 17:17:29 +00:00
parent fdfd9224cb
commit 2ef9874d69

View File

@ -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