# automated-youtube-dl _Automated YouTube Archival_ Download, compress, and send your YouTube videos. ### Installation 1. Install Python 3.7 1. This won't uninstall or overwrite any other python versions. ```console-bash 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 ``` 2. Install youtube-dl 1. `sudo python3.7 -m pip install youtube-dl` 3. Install jq 1. `sudo apt-get install jq` ### Usage `python3.7 youtubedl-big-archive.py --output ` **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` 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