-
Notifications
You must be signed in to change notification settings - Fork 0
Description
parser.php has a typo:
$client should be $guzzclient;
But anyway, after fixing this the requests to Google are broken.
To reproduce it
Download the repo, run composer install then try to open parser.php from the browser.
Result
Fatal error: Uncaught exception 'GuzzleHttp\Exception\ClientException' with message 'Client error: GET https://www.googleapis.com/pagespeedonline/v2/runPagespeed?url=phpninja.info&strategy=desktop&locale=nl_NL&fields=formattedResults%2Cid%2CinvalidRules%2Ckind%2CpageStats%2CresponseCode%2CruleGroups%2Cscreenshot%2Ctitle%2Cversion&key=AIzaSyAks5wSTcoEN-SbNguivuuKP8QVadDQtK0&screenshot=true resulted in a 400 Bad Request response: { "error": { "errors": [ { "domain": "global", "reason": "invalidParameter", "message": "Invalid value (truncated...) ' in