Hi,
I've been using search-engine-google for a while, worked perfectly until now but I've got a recent issue with proxies.
The Google scraper works fine on my localhost, but on the production server it throws an error 500: Unable to check javascript status
The scraped results come with dom => textContent starting with "ncoding
Transfer-Encoding: chunked"
I put a simple test online here: https://www.hack-hunt.com/scraping-simple-test.php
The code is the code of your example here: http://serp-spider.github.io/documentation/search-engine/google/#installation
I just added:
$proxy = Proxy::createFromString('https://xxx:proxy@ip');
$browser->setProxy($proxy);
It works fine on localhost, or on production server if I remove the proxy, but it fails on production with proxy.
Not sure if the issue comes from my server or search-engine-google.
Any help much appreciated, thanks
Hi,
I've been using search-engine-google for a while, worked perfectly until now but I've got a recent issue with proxies.
The Google scraper works fine on my localhost, but on the production server it throws an error 500: Unable to check javascript status
The scraped results come with dom => textContent starting with "ncoding
Transfer-Encoding: chunked"
I put a simple test online here: https://www.hack-hunt.com/scraping-simple-test.php
The code is the code of your example here: http://serp-spider.github.io/documentation/search-engine/google/#installation
I just added:
$proxy = Proxy::createFromString('https://xxx:proxy@ip');
$browser->setProxy($proxy);
It works fine on localhost, or on production server if I remove the proxy, but it fails on production with proxy.
Not sure if the issue comes from my server or search-engine-google.
Any help much appreciated, thanks