mirror of
https://github.com/laramies/theHarvester.git
synced 2024-09-22 16:26:34 +08:00
Get spyse working again
This commit is contained in:
parent
3ac0ec9f57
commit
0767182947
|
@ -20,7 +20,7 @@ async def do_search(self):
|
|||
'accept': 'application/json',
|
||||
'Authorization': f'Bearer {self.key}',
|
||||
}
|
||||
base_url = f'https://api.spyse.com/v2/data/domain/subdomain?limit=100&domain={self.word}'
|
||||
base_url = f'https://api.spyse.com/v3/data/domain/subdomain?limit=100&domain={self.word}'
|
||||
results = await AsyncFetcher.fetch_all([base_url], json=True, proxy=self.proxy, headers=headers)
|
||||
results = results[0]
|
||||
self.hosts = {domain['name'] for domain in results['data']['items']}
|
||||
|
|
Loading…
Reference in a new issue