mirror of
https://github.com/laramies/theHarvester.git
synced 2024-11-11 18:03:10 +08:00
Get spyse working again
This commit is contained in:
parent
3ac0ec9f57
commit
0767182947
1 changed files with 1 additions and 1 deletions
|
@ -20,7 +20,7 @@ async def do_search(self):
|
||||||
'accept': 'application/json',
|
'accept': 'application/json',
|
||||||
'Authorization': f'Bearer {self.key}',
|
'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 = await AsyncFetcher.fetch_all([base_url], json=True, proxy=self.proxy, headers=headers)
|
||||||
results = results[0]
|
results = results[0]
|
||||||
self.hosts = {domain['name'] for domain in results['data']['items']}
|
self.hosts = {domain['name'] for domain in results['data']['items']}
|
||||||
|
|
Loading…
Reference in a new issue