diff --git a/srcpkgs/google-chrome/update b/srcpkgs/google-chrome/update index 0074c4f3a66..5b8da607734 100644 --- a/srcpkgs/google-chrome/update +++ b/srcpkgs/google-chrome/update @@ -1,3 +1,7 @@ -# This is the only site I've reliably found the version number on -site=https://www.whatismybrowser.com/guides/the-latest-version/chrome -pattern="\K\d+\.\d+\.\d+\.\d+(?=<\/h2>)" +# This site is an official source of version numbers, but it is not +# obviously associated as such. We save bytes here and request the +# CSV, and then only the row containing the stable version number for +# the Linux desktop build. As a result the regex can be pretty simple +# to just grab the version number out of the correct column. +site="https://omahaproxy.appspot.com/all?os=linux&channel=stable" +pattern="stable,\K[\d.]+(?=,)"