A script and GUI to download videos and audio files from YouTube, using PyTube
CONFIG_KEY=<config_key>
SAVE_PATH=<save_path>
You can change the save path on the GUI after, this is just for the default location
- Create .env file with variables listed above
pip install virtualenv
- For Windows:
py -3 -m venv venv
, thenvenv\Scripts\activate
- For MacOS/Linux:
python3 -m venv venv
, then. venv/bin/activate
pip install -r requirements.txt
to download dependencies
cd download_from_yt
to change into directoryvenv\Scripts\activate
to activate virtual environmentpython yt_dowbload.py
to launch GUI
Note: You can change the directory "download_from_yt" to something shorter to make it easier next time