Automated YouTube Archival
This repository has been archived on 2023-11-11. You can view files and clone it, but cannot push or open issues or pull requests.
Go to file
Cyberes 9c9fb37a0e c 2020-06-23 13:29:13 -06:00
.gitignore upload 2019-12-16 21:25:12 -07:00
LICENSE Initial commit 2019-12-16 19:25:50 -07:00
README.md c 2020-06-23 13:29:13 -06:00
automated-youtube-dl.py c 2020-06-23 13:29:13 -06:00
get-urls.sh upload 2019-12-16 21:25:12 -07:00
pip-update.py c 2020-01-09 20:56:28 -07:00
pip-update.sh c 2020-06-23 13:29:13 -06:00
start.sh c 2020-06-23 13:29:13 -06:00

README.md

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.
    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
  4. Install ffmpeg

    1. sudo apt install ffmpeg

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 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