mirror of
https://github.com/cve-search/PyVulnerabilityLookup.git
synced 2025-01-18 02:26:19 +00:00
fix: Use proper call for browsing vendors
This commit is contained in:
parent
b9e4c53bde
commit
65244e3135
1 changed files with 1 additions and 1 deletions
|
@ -133,7 +133,7 @@ class PyVulnerabilityLookup():
|
|||
|
||||
:params vendor: A vendor owning products (must be in the known vendor list)
|
||||
'''
|
||||
r = self.session.get(urljoin(self.root_url, str(PurePosixPath('api', 'vulnerability', 'browse', vendor))))
|
||||
r = self.session.get(urljoin(self.root_url, str(PurePosixPath('api', 'browse', vendor))))
|
||||
return r.json()
|
||||
|
||||
def get_vendor_product_vulnerabilities(self, vendor: str, product: str) -> list[str]:
|
||||
|
|
Loading…
Add table
Reference in a new issue