diff --git a/modules/GoogleChrome.php b/modules/GoogleChrome.php index b41e806..03ad4b7 100644 --- a/modules/GoogleChrome.php +++ b/modules/GoogleChrome.php @@ -5,8 +5,8 @@ class GoogleChrome extends PatchBase { parent::__construct('Google', 'Chrome', 'https://www.google.de/chrome/'); } function check() : bool { - if ($this->fetch('https://omahaproxy.appspot.com/all')) - return $this->parse('/win64,stable,([\d\.]+),/'); + if ($this->fetch_json('https://versionhistory.googleapis.com/v1/chrome/platforms/win64/channels/stable/versions')) + return $this->parse_json('version'); return false; } }