Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Vulners detects bots #26

Open
JJK96 opened this issue Sep 27, 2022 · 3 comments
Open

Vulners detects bots #26

JJK96 opened this issue Sep 27, 2022 · 3 comments

Comments

@JJK96
Copy link

JJK96 commented Sep 27, 2022

Traceback (most recent call last):
  File "/home/jjk/git/Pompem/core/scrapers.py", line 28, in _get_results
    self._parser(html)
  File "/home/jjk/git/Pompem/core/scrapers.py", line 188, in _parser
    for data in json_data['data']['search']:
KeyError: 'search'

When debugging I find that the following response is received from Vulners:

{
  "result": "error",
  "data": {
    "error": "Looks like you are a bot. Please, pass captcha or obtain proper valid API key",
    "errorCode": 9000
  }
}
@Yashsomalkar
Copy link

same with me :(

@lapers
Copy link

lapers commented Mar 12, 2023

The same problem

@vulnersCom
Copy link

You need just use API key with the request.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants