Cyberes 58d9a65988 | ||
---|---|---|
.gitignore | ||
LICENSE | ||
README.md | ||
automated-youtube-dl.py | ||
get-urls.sh | ||
pip-update.py |
README.md
automated-youtube-dl
Automated YouTube Archival
Download, compress, and send your YouTube videos.
Installation
-
Install Python 3.7
- This won't uninstall or overwrite any other python versions.
sudo apt update sudo apt install software-properties-common sudo add-apt-repository ppa:deadsnakes/ppa sudo apt install python3.7 sudo python3.7 -m pip install pip
-
Install youtube-dl
sudo python3.7 -m pip install youtube-dl
-
Install jq
sudo apt-get install jq
Usage
python3.7 youtubedl-big-archive.py <url of youtube video, channel, or playlist> --output <name of 7z archive>
Arguments:
file
The URL of the YouTube video, channel, playlist, or path to a txt file with URLs. Positional--playlists
,-pl
Is the input file a list of playlists? Enables the sequential renaming of the 7z archives--output
,-o
The name of the 7z archive to create. If unset no 7z archive is created--encrypt
,-e
Encrypt the compressed 7z archive. If set will ask for password--password
,-p
Provide the password to encrypt the compressed 7z archive with. Don't combine--encrypt
and--password
--no-update
,-nu
Don't update any Pip packages. You'd want to update because youtube-dl updates so much--max-size
,-m
Max size of video in mb. Default is 2000 mb (2 gb)--check-size
,-c
Double verify the video is smaller than the max size and skip if not--cmd
,-c
Use the bash (commandline) youtube-dl instead of the embedded python version