How to download a CRX file from the Chrome Web Store for a given ID?

I want to download the .crx file of the extension from the web store, I use the violinist to analyze the network request when I install the extension from the online store and receive it.
For example, for the extension: https://chrome.google.com/webstore/detail/bjclhonkhgkidmlkghlkiffhoikhaajg
download link:

https://clients2.googleusercontent.com/crx/download/OgAAADQ_Loe5gfVPF2OUaB35tvex-NKlmA8V4K5YlWuvLCknMH7egLLnMoFuCZePl_idE1r_rjrqfydrjfqryfrjfrfydr1fqrydrfrfydrfr
Now I'm wondering if there is a universal method for getting the .crx extension, the problem is how Google encryption

bjclhonkhgkidmlkghlkiffhoikhaajg

at

OgAAADQ_Loe5gfVPF2OUaB35tvex-NKlmA8V4K5YlWuvLCknMH7egLLmnMoFuCZePl_idE1GMf8jZC2KbjQqyyLDoDAAxlKa5eDp-z9frOppHWtQsRU3-iGrrrrA

any idea would be helpful.

+48
google-chrome google-chrome-extension download chrome-web-store
Aug 25 '11 at 3:22
source share
7 answers

For one of my extensions, I had to load other CRX automatically, knowing only the extension identifier. I solved this by opening the following URL:

 http://clients2.google.com/service/update2/crx?response=redirect&x=id%3D<EXTENSION_ID_HERE>%26uc%26lang%3Den-US&prod=chrome 

this page sends you this address https://clients2.googleusercontent.com/crx/download/ .

I don’t remember how I came up with this URL (it was either in the source of the page somewhere, or I used a network sniffer), but it works fine for me since December last year, so it looks reliable.

+27
Aug 25 2018-11-11T00:
source share
β€” -

The CRX file itself can be downloaded directly from https://clients2.google.com/service/update2/crx?response=redirect&prodversion= [PRODVERSION] &x=id%3D [EXTENSIONID] %26uc

  • [PRODVERSION] is a version of Chrome that should be 31.0.1609.0 , at least , and
  • [EXTENSIONID] - extension identifier

If the extension you use contains OS-specific modules (e.g. NaCl), then you need to add additional parameters ( os , arch , nacl_arch ).

For complete logic of generating the full CRX download URL, see the get_crx_url function at https://github.com/Rob--W/crxviewer/blob/master/src/cws_pattern.js .

This is part of the extension for the Chrome Extender extension available on the Chrome Web Store: https://chrome.google.com/webstore/detail/chrome-extension-source-v/jifpbeccnghkjeaalbbjmodiffmgedin




Please note that opening the previous URL in Chrome will not start the download, as Chrome will automatically intercept responses whose Content-Type set to application/x-chrome-extension . If you want to programmatically load the crx file into the Chrome extension, change the MIME type to application/octet-stream (for example, as is done in src/lib/crx-to-zip.js ).

+61
Dec 31 '13 at 9:24
source share

Here is this site to do just that:

http://chrome-extension-downloader.com/

+42
Mar 05 '14 at 7:49
source share

I wrote a small python script to automate this process that @serg @Rob W

https://gist.github.com/arulrajnet/2424bc1ffc40324f3786

You can also use this.

 python ChromeAppDownloader.py -u https://chrome.google.com/webstore/detail/google-maps/lneaknkopdijkpnocmklfnjbeapigfbh 

Here is how you should use it.

+3
Nov 26 '14 at 13:43
source share

Create a bookmark by adding the javascript function as the address. Scroll to the chrome extension you want to download, then click on the bookmark and start the download.

 javascript:(function(){ var pathname = location.pathname;pathArray = pathname.split("/"); location = ("http://clients2.google.com/service/update2/crx?response=redirect&x=id"+"%" + "3D" + pathArray[pathArray.length -1]+"%" + "26uc%" + "26lang%" + "3Den-US&prod=chrome"); })(); 

thank

+2
Apr 10 '14 at 16:02
source share

This is a lower-tech way of doing this than using a violinist, and I understand that it's already three years now, but I always try to find out if someone else solved the problem. So I found that someone did this, and I just used their solution several times. Their solution is an extension that can load other extensions called Give Me CRX:

https://chrome.google.com/webstore/detail/give-me-crx/acpimoebmfjpfnbhjgdgiacjfebmmmci

+2
Nov 04 '14 at 21:46
source share

In addition, I recommend trying this website http://crxextractor.com . Here you can download the extension via the URL of the Chrome Web Store and extract it in a browser without the need for additional software, and everything will be done with one click or two.

0
Jan 25 '17 at 22:53 on
source share



All Articles