aboutsummaryrefslogtreecommitdiffstats
path: root/yt-dlp_config
diff options
context:
space:
mode:
authorMatthew Lemon <y@yulqen.org>2023-09-30 16:43:51 +0100
committerMatthew Lemon <y@yulqen.org>2023-09-30 16:43:51 +0100
commitda248bee095b2b735f5400c69a09fb385ace9009 (patch)
treea78c6a36121dd0eb794da7df78e031bd4e731abb /yt-dlp_config
parent7b2ebf3d96c7567a6fbc56689f83e027c3e53bc4 (diff)
Adds config for yt_dlp
Diffstat (limited to '')
-rw-r--r--yt-dlp_config8
1 files changed, 8 insertions, 0 deletions
diff --git a/yt-dlp_config b/yt-dlp_config
new file mode 100644
index 0000000..46b979e
--- /dev/null
+++ b/yt-dlp_config
@@ -0,0 +1,8 @@
+--ignore-errors
+# --no-playlist
+
+# Save in ~/Videos
+-o ~/Downloads/%(title)s.%(ext)s
+
+# Prefer 1080p or lower resolutions
+-f bestvideo[ext=mp4][width<2000][height<=1200]+bestaudio[ext=m4a]/bestvideo[ext=webm][width<2000][height<=1200]+bestaudio[ext=webm]/bestvideo[width<2000][height<=1200]+bestaudio/best[width<2000][height<=1200]/best