Skip to content

kachick/gwurl

Repository files navigation

gwurl - "Google distributing Windows installer"'s URL

CI - Go Status CI - E2E Status CI - Nix Status

Usage

> gwurl 'https://dl.google.com/tag/s/appguid%3D%7BDDCCD2A9-025E-4142-BCEB-F467B88CF830%7D%26iid%3D%7BBF6725E7-4A15-87B7-24D5-0ADABEC753EE%7D%26lang%3Dja%26browser%3D4%26usagestats%3D0%26appname%3DGoogle%2520%25E6%2597%25A5%25E6%259C%25AC%25E8%25AA%259E%25E5%2585%25A5%25E5%258A%259B%26needsadmin%3Dtrue%26ap%3Dexternal-stable-universal/japanese-ime/GoogleJapaneseInputSetup.exe'

{appguid:{DDCCD2A9-025E-4142-BCEB-F467B88CF830} ap:external-stable-universal appname:Google 日本語入力 needsadmin:true filename:GoogleJapaneseInputSetup.exe}
http://edgedl.me.gvt1.com/edgedl/release2/kjspmop3m4hu2sbbaotsynsgja_2.29.5370.0/GoogleJapaneseInput64-2.29.5370.0.msi
https://edgedl.me.gvt1.com/edgedl/release2/kjspmop3m4hu2sbbaotsynsgja_2.29.5370.0/GoogleJapaneseInput64-2.29.5370.0.msi
http://dl.google.com/release2/kjspmop3m4hu2sbbaotsynsgja_2.29.5370.0/GoogleJapaneseInput64-2.29.5370.0.msi
https://dl.google.com/release2/kjspmop3m4hu2sbbaotsynsgja_2.29.5370.0/GoogleJapaneseInput64-2.29.5370.0.msi
http://www.google.com/dl/release2/kjspmop3m4hu2sbbaotsynsgja_2.29.5370.0/GoogleJapaneseInput64-2.29.5370.0.msi
https://www.google.com/dl/release2/kjspmop3m4hu2sbbaotsynsgja_2.29.5370.0/GoogleJapaneseInput64-2.29.5370.0.msi

Tested targets

  • Google Chrome
  • Google Japanese IME(Also known as "Google 日本語入力")

Installation

Nix

nix run github:kachick/gwurl -- 'the_tagged_url_here'

Prebuilt binaries

# <UPDATE ME>

Motivation

As my understanding.

If we are downloading Google product as a Windows installer, it returns long and encoded URL as https://dl.google.com/tag/s/appguid%3D%7~iid%3D%.
The iid is the "Instance ID", so downloading from this URL twice, the installer will not work. Even if you got the binary...!
As far as I know, they does not open the list of these actual URLs.

I didn't know their motivation, but this is a blocker of getting installer permalinks. Especially in winget-pkgs.

Resources

Using their API without any token auth and referenced these OSS resources.

Plans

Current features are enough to me, but it would be good...

  • Output as JSON: For automated GitHub Actions to create PRs for winget-pkgs
  • Returns supported minimum Windows Versions: Also helps to create winget-pkgs

About

Google distributing Windows installer URL

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •