YDownloader script downloads Youtube contents. The script downloads Audio, Videos and Playlists.
- Python3
- Virtualenv
- Homebrew
- chocolately - windows users
1.Install Python3
2.pip install virtualenv
git clone https://github.com/charisschomba/YDownloader.git
brew install ffmpeg
for MacOs
sudo apt-get install ffmpeg
or sudo apt-get install -y libav-tools
for Linux
Run CMD
as administrator and paste the code below to install chocolatey
@"%SystemRoot%\System32\WindowsPowerShell\v1.0\powershell.exe" -NoProfile -InputFormat None -ExecutionPolicy Bypass -Command "iex ((New-Object System.Net.WebClient).DownloadString('https://chocolatey.org/install.ps1'))" && SET "PATH=%PATH%;%ALLUSERSPROFILE%\chocolatey\bin"
Once the installation is complete run choco install ffmpeg
to install ffmpeg
cd YDownloader
virtualenv -p python3 yd
source yd/bin/activate
- for MacOs and Linux
Yd\Scripts\activate
- for windows users
pip3 install -r requirements.txt
- to install the packages required
pip3 install --upgrade youtube-dl
python download.py
and type D
to download or Q
to quit.
-
Copy
audio/video/playlist url
and start the script. -
Eg playlist url -
https://www.youtube.com/watch?v=aJOTlE1K90k&list=PLuUrokoVSxlcgocBXbDF76yWd3YKWpOH9
-
Audio /Video url -
https://www.youtube.com/watch?v=dmJefsOErr0
-
Choose type
A
for AudioV
for Video orP
for Playlist to download. -
Note: This script will only download playlist if the url is a playlist url.
-
Choose
Playlist option
if the url is a valid youtube playlist url.