Vulners detects bots
JJK96 opened this issue · comments
Jan-Jaap Korpershoek commented
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 commented
same with me :(
Lapers commented
The same problem
Vulners Team commented
You need just use API key with the request.