aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnton Bobov <anton@bobov.name>2023-10-03 22:22:19 +0500
committerAnton Bobov <anton@bobov.name>2023-10-03 22:22:19 +0500
commitc0bdde3e5cc67d32afa33803f63a42d2961f6a21 (patch)
treea2855c3966466fe526126241910eaae9f6d02a0c
parent757118fa689acabccf9c9f81dc123fdbda05ef9e (diff)
[yt-dlp] Configure retries
-rw-r--r--files/.config/youtube-dl/config37
1 files changed, 32 insertions, 5 deletions
diff --git a/files/.config/youtube-dl/config b/files/.config/youtube-dl/config
index aa888f4..c309026 100644
--- a/files/.config/youtube-dl/config
+++ b/files/.config/youtube-dl/config
@@ -1,8 +1,35 @@
--format bestvideo[width<=1920]+bestaudio/best[width<=1920]/bestvideo+bestaudio/best
---no-check-certificate
---force-ipv4
---add-metadata
+--live-from-start
--sponsorblock-mark all
--xff default
---downloader aria2c
---downloader-args aria2c:"-x8 -s8 -k1M"
+
+--no-check-certificate
+--force-ipv4
+--geo-bypass
+
+# python3-secretstorage required
+# --cookies-from-browser chromium
+# --mark-watched
+
+--concurrent-fragments 5
+# --downloader aria2c
+# --downloader-args aria2c:"--continue --max-connection-per-server 5 --split 5 --min-split-size 1M"
+
+--extractor-retries 4
+--file-access-retries 4
+--fragment-retries 4
+--retries 4
+--retry-sleep extractor:exp=4
+--retry-sleep file_access:exp=4
+--retry-sleep fragment:exp=4
+--retry-sleep http:exp=4
+--retry-sleep exp=4
+
+--audio-multistreams
+--video-multistreams
+--check-formats
+
+--embed-metadata
+--embed-thumbnail
+--embed-chapters
+--mtime