mirror of
https://github.com/laramies/theHarvester.git
synced 2025-02-23 22:13:02 +08:00
Fix threatminer unittest
This commit is contained in:
parent
8cf02633c9
commit
51e92b6eb5
1 changed files with 1 additions and 1 deletions
|
@ -14,7 +14,7 @@ def domain() -> str:
|
|||
return 'target.com'
|
||||
|
||||
async def test_api(self):
|
||||
base_url = f'https://api.sublist3r.com/search.php?domain={TestThreatminer.domain()}'
|
||||
base_url = f'https://api.threatminer.org/v2/domain.php?q={TestThreatminer.domain()}&rt=5'
|
||||
headers = {'User-Agent': Core.get_user_agent()}
|
||||
request = requests.get(base_url, headers=headers)
|
||||
assert request.status_code == 200
|
||||
|
|
Loading…
Reference in a new issue