Answer the question
In order to leave comments, you need to log in
What is the best way to write a script to show the position of the site in the search results?
Hello everyone, I need help, I don't know what to do anymore. I need to write a script that will allow, when entering the site address, a list of key queries and selecting the Russian region, to access search engines and find out information about the position of the site for the key query. And everything, it would seem, is simple, you take it, make a GET request and step into the search engines, then parse the page. If everything is fine with Google, it has a link in the output element direct to the resource, then for Yandex the link first leads to an internal service that processes the click on the link and only then redirects to the requested resource, i.e. it is no longer possible to parse the search page and pull out information, I know about Yandex.XML, but there are limits, some, for services that do this, work goes through the Google Search API and Yandex XML, but I can’t find the documentation for the Google Search API at all, and I can’t figure out from Yandex XML what needs to be done so that I can check any site. Thanks
Answer the question
In order to leave comments, you need to log in
I can't find the Google Search API documentation at all
If everything is fine with Google, it has a link in the output element direct to the resource, then Yandex’s link first leads to an internal service
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question