this is a collection of bash scripts to manage a local, offline library of youtube videos. features include:
- automated downloading of videos from a list
- a search engine (using fzf)
- automatically saving channel info ('about' tab, avatar, banner)
- utilities to manage your database, get information about videos
- other utilities (export, getall [videos, channels], get random video)
first of all, install the dependencies:
- yt-dlp (required, duh)
- jq (required)
- curl & wget (required, both used by the channel info downloader)
- fzf (recommended, used by
utils/search
) - mpv (recommended, used by
utils/search
, could also set thePLAYER
environment variable before running search) - 7z (optional, used by
utils/export
)
then, just run ./dl
+ any parameters you'd like, see yt-dlp/README.md#usage-and-options for more info.
the recommended way to use this thing is to create a list.txt
file in the root of this repo (already added to the .gitignore) and then use ./dl -l list.txt
(see here for an example - my own list.txt
)
- comments