Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/dbeley/youtube-archiver
Scripts to archive youtube channels and playlists using yt-dlp.
https://github.com/dbeley/youtube-archiver
youtube youtube-dl yt-dlp
Last synced: 3 months ago
JSON representation
Scripts to archive youtube channels and playlists using yt-dlp.
- Host: GitHub
- URL: https://github.com/dbeley/youtube-archiver
- Owner: dbeley
- Created: 2019-11-18T00:53:46.000Z (almost 5 years ago)
- Default Branch: master
- Last Pushed: 2021-12-14T22:21:13.000Z (almost 3 years ago)
- Last Synced: 2024-06-17T07:31:19.711Z (5 months ago)
- Topics: youtube, youtube-dl, yt-dlp
- Language: Shell
- Homepage:
- Size: 9.77 KB
- Stars: 6
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
- awesome-starred - youtube-archiver - Scripts to archive youtube channels and playlists using youtube-dl. (Shell)
README
# youtube-archiver
Some scripts to archive youtube channels or playlists using yt-dlp.
Fill the `channels.txt` and/or the `playlists.txt` file with the channels/playlists youtube urls you want to archive (the playlists have to be public or unlisted) and run the corresponding script `dl_channels.sh`/`dl_playlists.sh`.
```
./dl_channels.sh
./dl_playlists.sh
```# Requirements
- yt-dlp
# Systemd-service
Some systemd service files are provided to automatically run the scripts. They are provided in the systemd-service folder.
The service file is the one running the script. The timer file allows the service to be run at a specific time.
The service files assumes the repository is located at `~/Documents/youtube-archiver`. You can change it by modifying the `WorkingDirectory` in the service files.
You can also change the timer files, by default it will run the script every day at 2 am.
```
cp systemd-service/* ~/.config/systemd/user/
systemctl --user daemon-reload# one time run
systemctl --user start youtube-archiver_channels.service# activating the timers
systemctl --user enable --now youtube-archiver_channels.timer
systemctl --user enable --now youtube-archiver_playlists.timer# see the status of either the service or the timer
systemctl --user status youtube-archive_playlists.service
systemctl --user status youtube-archive_playlists.timer
```## Similar projects
-
-