I've been trying to get the URL for the first result from a keyword search, but I'm going through some issues.
Say, if I search for Apple, I want to get something like www.apple.com/
I was doing it by Google, but then they blocked me after a a while and I use an static IP, so that's a problem. That was the way I was doing it:
I tried using Bing and DuckDuckGo but I couldn't make it work. I guess I couldn't find the correct XPath, or the results are somewhat protected, idk.
Would anyone have a better solution for this? Bing and DuckDuckGo are still an option for me if I can make them work.
Thanks in advance! (: