serpapi / serpapi-javascript

Scrape and parse search engine results using SerpApi.
https://serpapi.com
MIT License
48 stars 4 forks source link

Error handling for callback usage #14

Open zyc9012 opened 1 year ago

zyc9012 commented 1 year ago

When calling getJson or getHtml with callback instead of async/await, there's no way to handle errors.