Created
October 31, 2018 15:06
-
-
Save ajankuv/d05bdfb8d543d6b370ca4b438612191b to your computer and use it in GitHub Desktop.
instapy quick setup in venv
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 | |
# quick instapy installer | |
pip install git+https://github.com/timgrossmann/InstaPy.git; | |
latest_version=$(wget https://chromedriver.storage.googleapis.com/LATEST_RELEASE -O -); | |
wget https://chromedriver.storage.googleapis.com/${latest_version}/chromedriver_linux64.zip; | |
unzip chromedriver_linux64; | |
mkdir -p local/lib/python2.7/site-packages/assets; | |
mv chromedriver local/lib/python2.7/site-packages/assets; | |
chmod +x local/lib/python2.7/site-packages/assets/chromedriver; | |
chmod 755 local/lib/python2.7/site-packages/assets/chromedriver; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I think you can pipe the result of wget straight to sh.
wget urlforshellscript | sh
. Homebrew has done this for a couple years.