When the number of queries to NVD has reached its limit, the search_by_cpe_name() method crashes on r.json().
The request status should be checked.
As the number of requests to NVD is limited, it would be good to either implement a retry, either keep in mind the startpage, so that, on failure, the next call does not exhaust the number of API calls.
When the number of queries to NVD has reached its limit, the
search_by_cpe_name()method crashes onr.json().The request status should be checked.
As the number of requests to NVD is limited, it would be good to either implement a retry, either keep in mind the startpage, so that, on failure, the next call does not exhaust the number of API calls.