sujitmandal / scrape-search-engine

Search anything on the different Search Engine's it will collect all the links.
MIT License
13 stars 5 forks source link

Bing KeyError #4

Closed csecht closed 2 years ago

csecht commented 2 years ago

The Bing engine raises a KeyError: 'href' on occasion. I haven't found a general pattern that initiates it; it seems random. Example search: 'trout'. (userAgent = 'Firefox/92.0') Google, Duckduckgo, and Yahoo have not raised the error for identical searches. I've stepped around it with try...except..., but it would be nice to not exclude Bing from some searches.

sujitmandal commented 2 years ago

@csecht then try with Chrome.