This commit is contained in:
parent
c71666283c
commit
206fcdebc4
46
README.md
46
README.md
|
@ -1,4 +1,3 @@
|
|||
<<<<<<< HEAD
|
||||
# automated-youtube-dl
|
||||
|
||||
_Automated YouTube Archival_
|
||||
|
@ -42,48 +41,3 @@ Download, compress, and send your YouTube videos.
|
|||
- `--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
|
||||
=======
|
||||
# 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 automated-youtube-dl.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
|
||||
>>>>>>> 196f97da1feb868b6b5f55cff6dbad204683b9b6
|
||||
|
|
Reference in New Issue