Search code examples
pythonsearch-engine

how to do searches with "google" "bing" "yahoo" using python?


I've been googling for APIs to use but they all seem to be deprecated or not in use anymore.

Is there any other way to do searches and get the results?

My objective is to "recreate" the blind search but instead of the user entering terms, I will have a set of terms predefined to search using python.

Thanks for any input!


Solution

  • Google are still supporting the custom search API [up to 100 queries/day for free]

    Yahoo has the Yahoo Search BOSS API.

    Bing got the Bing Developer Search API, which is free

    Also:
    If you have some corpurus of your own, you might also want to know about pyLucne, which implements the most of search engine's functionality for you, but you will have to create your own index, unlike the existing APIs, and is is unlikely you will be able to index the web with it... so for very large scale, I'd stick with yahoo/google/bing apis.