Search code examples
google-custom-searchgoogle-query-language

Google query for a mass of related websites


Is there a way to load a bunch of urls like a hundred of them and query in google to find other related to those.

To be more specific the command as_rq=www.example.com in google query searches sites that are related to this url, what if I want to search for a vast amount of urls is there an option or I'll have to traverse all the urls one by one.


Solution

  • Yeap it is possible via Google CSE(custom search engine) API where on the required parameter q=exampleQuery you insert q=as_rq=www.example.comand by using annotations you can parametrize your search results.