mirror of
https://github.com/laramies/theHarvester.git
synced 2025-02-24 14:32:57 +08:00
Fix netcraft flake8 issue
This commit is contained in:
parent
4f695faf2b
commit
6572f0fcfe
1 changed files with 2 additions and 2 deletions
|
@ -64,7 +64,7 @@ async def get_cookies(self, headers):
|
|||
cookies = await self.create_cookies(headers['set-cookie'])
|
||||
else:
|
||||
cookies = {}
|
||||
except Exception as e:
|
||||
except Exception:
|
||||
return {}
|
||||
return cookies
|
||||
|
||||
|
@ -83,7 +83,7 @@ async def do_search(self):
|
|||
await self.session.close()
|
||||
break
|
||||
self.base_url = await self.get_next(resp)
|
||||
except Exception as e:
|
||||
except Exception:
|
||||
try:
|
||||
await self.session.close()
|
||||
except Exception:
|
||||
|
|
Loading…
Reference in a new issue