about summary refs log tree commit diff
path: root/youtube-dl
diff options
context:
space:
mode:
Diffstat (limited to 'youtube-dl')
-rw-r--r--youtube-dl/.local/etc/youtube-dl/config15
-rwxr-xr-xyoutube-dl/@install10
2 files changed, 25 insertions, 0 deletions
diff --git a/youtube-dl/.local/etc/youtube-dl/config b/youtube-dl/.local/etc/youtube-dl/config
new file mode 100644
index 0000000..8309d10
--- /dev/null
+++ b/youtube-dl/.local/etc/youtube-dl/config
@@ -0,0 +1,15 @@
+--buffer-size 1024
+--continue
+--external-downloader aria2c
+--external-downloader-args '-k 2M'
+--geo-bypass
+--hls-prefer-ffmpeg
+--no-call-home
+--no-check-certificate
+--no-playlist
+--prefer-ffmpeg
+--prefer-free-formats
+--restrict-filenames
+--retries 3
+--skip-unavailable-fragments
+--youtube-skip-dash-manifest
diff --git a/youtube-dl/@install b/youtube-dl/@install
new file mode 100755
index 0000000..4a90a65
--- /dev/null
+++ b/youtube-dl/@install
@@ -0,0 +1,10 @@
+#!/bin/sh
+
+[ ! -d "${XDG_CONFIG_HOME}/youtube-dl" ] && \
+    mkdir -p "${XDG_CONFIG_HOME}/youtube-dl"
+
+stow \
+    --target="${HOME}" \
+    --ignore="^@.*" \
+    --verbose \
+    youtube-dl

Consider giving Nix/NixOS a try! <3