Created
September 8, 2018 23:51
-
-
Save haccer/e47e5b59508f5ce3f481825b997495e7 to your computer and use it in GitHub Desktop.
Download Chrome Extension Source Code
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# ./chromeExtDL.sh <extension id> <path to save location> | |
curl -s -L -o "/tmp/$1.zip" "https://clients2.google.com/service/update2/crx?response=redirect&os=mac&arch=x86-64&nacl_arch=x86-64&prod=chromecrx&prodchannel=stable&prodversion=44.0.2403.130&x=id%3D$1%26uc" | |
unzip -d $2 /tmp/$1.zip | |
rm /tmp/$1.zip |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment