Skip to content

Instantly share code, notes, and snippets.

@chaitanyarahalkar
Last active December 22, 2019 17:16
Show Gist options
  • Save chaitanyarahalkar/fa09320c63f2a79feb704d19d66eb2d6 to your computer and use it in GitHub Desktop.
Save chaitanyarahalkar/fa09320c63f2a79feb704d19d66eb2d6 to your computer and use it in GitHub Desktop.
#!/bin/bash
read -s -p "Enter Password for sudo: " sudoPW
echo "Installing Tor..."
echo $sudoPW | sudo apt install -y tor
echo "Installing Proxychains..."
git clone https://github.com/rofl0r/proxychains-ng.git
cd proxychains-ng
# configure and install
./configure --prefix=/usr --sysconfdir=/etc
make
echo $sudoPW | sudo make install
echo $sudoPW | sudo make install-config
echo "Installing YouTube-DL..."
echo $sudoPW | sudo curl -L https://yt-dl.org/downloads/latest/youtube-dl -o /usr/local/bin/youtube-dl
echo $sudoPW | sudo chmod a+rx /usr/local/bin/youtube-dl
echo "Installing FFMpeg..."
echo $sudoPW | sudo apt install -y ffmpeg
mkdir carvaan-songs
cd carvaan-songs/
echo "Downloading..."
proxychains youtube-dl -i --extract-audio --audio-format mp3 -o "%(title)s.%(ext)s" https://www.youtube.com/playlist?list=PLIO7o3VwD0X_hglBI3zHjZQW6GOJT30Vy
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment