如何从 Chrome 网上应用店下载指定 ID 的 CRX 文件? [英] How to download a CRX file from the Chrome web store for a given ID?

查看:26
本文介绍了如何从 Chrome 网上应用店下载指定 ID 的 CRX 文件?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想从网上商店下载一个扩展的.crx文件,当我从网上商店安装一个扩展并得到它时,我使用fiddler来分析网络请求.
例如,对于扩展程序:https://chrome.google.com/webstore/detail/bjclhonkhgkidmlkghlkiffhoikhaajg
下载链接是:

I'd like to download the .crx file of an extension from webstore, I use fiddler to analyze the network request when I install an extension from webstore and got it.
For example, for the extension: https://chrome.google.com/webstore/detail/bjclhonkhgkidmlkghlkiffhoikhaajg
the download link is:

https://clients2.googleusercontent.com/crx/download/OgAAADQ_Loe5gfVPF2OUaB35tvex-NKlmA8V4K5YlWuvLCknMH7egLLmnMoFuCZePl_idE1GMf8jZC2KbjQqyyLDoDAAxlKa5eDp-z9frOp​​pHWtQsRU3-iGrrrrA/extension_1_7_11.crx

现在我想知道是否有一种通用的方法来获取扩展名的 .crx,问题是 Google 是如何加密的

https://clients2.googleusercontent.com/crx/download/OgAAADQ_Loe5gfVPF2OUaB35tvex-NKlmA8V4K5YlWuvLCknMH7egLLmnMoFuCZePl_idE1GMf8jZC2KbjQqyyLDoDAAxlKa5eDp-z9frOppHWtQsRU3-iGrrrrA/extension_1_7_11.crx
Now I'm wondering if there is a universal method for get .crx of an extension, the problem is how did Google encryption

bjclhonkhgkidmlkghlkiffhoikhaajg

进入

OgAAADQ_Loe5gfVPF2OUaB35tvex-NKlmA8V4K5YlWuvLCknMH7egLLmnMoFuCZePl_idE1GMf8jZC2KbjQqyyLDoDAAxlKa5eDp-z9frOp​​pHWtQrAr3rA

OgAAADQ_Loe5gfVPF2OUaB35tvex-NKlmA8V4K5YlWuvLCknMH7egLLmnMoFuCZePl_idE1GMf8jZC2KbjQqyyLDoDAAxlKa5eDp-z9frOppHWtQsRU3-iGrrrrA ?

任何想法都会有所帮助.

any idea will be helpful.

推荐答案

对于我的一个扩展,我不得不自动下载其他 CRX,只知道扩展 ID.我通过打开以下 URL 解决了这个问题:

For one of my extensions I had to download other CRXs automatically knowing only extension ID. 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

此页面会将您转至该 https://clients2.googleusercontent.com/crx/download/ 地址.

this page will forward you to that https://clients2.googleusercontent.com/crx/download/ address.

我已经不记得我是如何想出那个 URL 的(它要么在某个页面的源代码中,要么我使用了网络嗅探器),但自去年 12 月以来它一直对我有用,所以它看起来很可靠.

I don't remember already how I came up with that URL (it was either in page source somewhere or I used network sniffer), but it has been working great for me since last December, so it looks reliable.

这篇关于如何从 Chrome 网上应用店下载指定 ID 的 CRX 文件?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆