diff options
author | Vikas Kushwaha <dev@vikas.rocks> | 2025-06-13 08:37:31 +0530 |
---|---|---|
committer | Vikas Kushwaha <dev@vikas.rocks> | 2025-06-13 08:37:31 +0530 |
commit | 28ea0e3cbe1c0f980a05d6fb13a428bcab2ea1c5 (patch) | |
tree | b44f5301c4f60b1dae51a91e72b614996ee074ce /.config/yt-dlp | |
parent | 311a468de08231c3dd2327473b79066a25e67462 (diff) |
Diffstat (limited to '.config/yt-dlp')
-rw-r--r-- | .config/yt-dlp/channel.conf | 5 | ||||
-rw-r--r-- | .config/yt-dlp/config | 2 | ||||
-rw-r--r-- | .config/yt-dlp/playlist.conf | 3 | ||||
-rw-r--r-- | .config/yt-dlp/videos.conf | 1 |
4 files changed, 7 insertions, 4 deletions
diff --git a/.config/yt-dlp/channel.conf b/.config/yt-dlp/channel.conf index e67e86c..925cb02 100644 --- a/.config/yt-dlp/channel.conf +++ b/.config/yt-dlp/channel.conf @@ -1,12 +1,13 @@ ---config videos.conf +--config config --output '%(channel)s/%(title)s.%(ext)s' --output 'thumbnail:%(channel)s/.thumbnail/%(title)s.%(ext)s' --output 'description:%(channel)s/.description/%(title)s.txt' ---print-to-file %(title)s.%(ext)s %(channel)s/%(channel)s.channel.pl.txt +--print-to-file %(title)s %(channel)s/%(channel)s.channel.pl.txt # --playlist-items ::-1 +--write-description --write-thumbnail --embed-thumbnail --write-playlist-metafiles diff --git a/.config/yt-dlp/config b/.config/yt-dlp/config index 20f6aad..9e817f8 100644 --- a/.config/yt-dlp/config +++ b/.config/yt-dlp/config @@ -1,5 +1,5 @@ ---output %(title)s.%(ext)s --restrict-filenames +--output %(title)s.%(ext)s --format bestvideo*[height<=1080][fps<=30]+bestaudio --prefer-free-format diff --git a/.config/yt-dlp/playlist.conf b/.config/yt-dlp/playlist.conf index 74af4dd..43ed334 100644 --- a/.config/yt-dlp/playlist.conf +++ b/.config/yt-dlp/playlist.conf @@ -1,4 +1,4 @@ ---config videos.conf +--config config --output '%(playlist)s/%(title)s.%(ext)s' --output 'thumbnail:%(playlist)s/.thumbnail/%(title)s.%(ext)s' @@ -7,6 +7,7 @@ --print-to-file %(title)s %(playlist)s/%(playlist)s.pl.txt --playlist-items ::-1 +--write-description --write-thumbnail --embed-thumbnail --write-playlist-metafiles diff --git a/.config/yt-dlp/videos.conf b/.config/yt-dlp/videos.conf index 42d9c40..10d2564 100644 --- a/.config/yt-dlp/videos.conf +++ b/.config/yt-dlp/videos.conf @@ -1,3 +1,4 @@ --config config --format bestvideo*[height<=1080][fps<=60]+bestaudio --write-description +--print-to-file "%(original_url)s %(channel)s %(title)s %(filepath)s" $HOME/.local/state/yt_history.tsv |