You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Sometime for certain proxy google will sending back mobile version
google would only send you mobile version of their site based on your User Agent and not based on what IP you are connecting from. I'd have to see the exact code you're using, because I suspect you're not just changing your IP address through proxy, but also somehow changing your User Agent HTTP header
Hello,
Sometime for certain proxy google will sending back mobile version and the code on GoogleSearch.php is only trying to find desktop version
I had use this pattern to get results from mobile version
preg_match_all('/<\/div><div><a class(.*?)href="([^"]*http[^"]+)"><span class(.*?)>(.*?)<\/span>
and the pattern below for next page in mobile version
<tbody><td><a class="([^>]*?)"([^>]*?)href="\/([^>]*?)">([^"]*'.$nextlabel.'[^"]+)<\/a>
$nextlabel variable is next word based on the google local being visited, such as in my case use "Berikutnya" for google.co.id results
The text was updated successfully, but these errors were encountered: