【问题标题】:How can I download a Chrome extension using curl?如何使用 curl 下载 Chrome 扩展程序?
【发布时间】:2021-01-02 02:46:26
【问题描述】:

给定 Chrome 扩展程序的 ID,使用 curl 下载它的 URL 是什么?

【问题讨论】:

标签: google-chrome google-chrome-extension


【解决方案1】:

这对我有用。

ID=lkajd9lk32093lkdd93lkd # replace with target extension's id in the store
URL="https://clients2.google.com/service/update2/crx?response=redirect&x=id%3D$ID%26uc"

# -L to handle any redirects
curl -L "$URL" > some_file.crx

注意.crx 文件可以用unzip 解压。

【讨论】:

  • 注意.crx文件可以用unzip解包
猜你喜欢
  • 1970-01-01
  • 2011-06-18
  • 2011-05-14
  • 2013-12-04
  • 2018-11-29
  • 1970-01-01
  • 2015-04-06
相关资源
最近更新 更多