How to download Chrome and Edge extensions in CRX v3 format

This post is probably going to become outdated pretty fast, so don't be surprised if a few months (or a year) after I wrote this, the method won't work.

For Chrome:
curl -v -o t.crx -L \
  "https://clients2.google.com/service/update2/crx?response=redirect&os=linux&arch=x64&os_arch=x86_64&nacl_arch=x86-64&prod=chromecrx&prodchannel=&prodversion=87.0.4280.88&lang=en-US&acceptformat=zip&x=id%3D${extensionID}%26installsource%3Dondemand%26uc"

For Edge (the Chromium based one):
curl -v -o t.crx -L \
  "https://edge.microsoft.com/extensionwebstorebase/v1/crx?response=redirect&os=linux&arch=x64&os_arch=x86_64&nacl_arch=x86-64&prod=chromiumcrx&prodchannel=dev&prodversion=89.0.731.0&lang=en-US&acceptformat=crx3&x=id%3D${extensionID}%26installsource%3Dondemand%26uc"

In both cases you've to specify the extension ID in the "extensionID" variable. And of course you can adjust the other URI parameters if you want to.

Comments

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.

Hi

Thank you!!1