summaryrefslogtreecommitdiff
path: root/ar
diff options
context:
space:
mode:
authorTheSiahxyz <164138827+TheSiahxyz@users.noreply.github.com>2025-02-02 09:00:03 +0900
committerTheSiahxyz <164138827+TheSiahxyz@users.noreply.github.com>2025-02-02 09:00:03 +0900
commit7f4d82498cf80450a7d11cf3509566547f79961d (patch)
tree3fe537e1e33d1c1678da09993bb92170da9134a9 /ar
parentf97fa1303979abdb96d7af90dc71c7b497ca9e06 (diff)
modified bin/qndl
Diffstat (limited to 'ar')
-rwxr-xr-xar/.local/bin/qndl4
1 files changed, 2 insertions, 2 deletions
diff --git a/ar/.local/bin/qndl b/ar/.local/bin/qndl
index 1c5be55..84c3dce 100755
--- a/ar/.local/bin/qndl
+++ b/ar/.local/bin/qndl
@@ -1,6 +1,6 @@
#!/bin/sh
-YTDL_CMD_BASE="yt-dlp --continue --embed-metadata --ignore-errors --no-force-overwrites --no-playlist --verbose"
+YTDL_CMD_BASE="yt-dlp --cookies-from-browser firefox:~/.mozilla/firefox --continue --embed-metadata --ignore-errors --no-force-overwrites --no-playlist --verbose"
# Process command-line options for download type
while getopts "mvr" opt; do
@@ -87,7 +87,7 @@ case $URL in
;;
esac
-SIMULATION_CMD="yt-dlp --simulate --print filename $URL"
+SIMULATION_CMD="yt-dlp --simulate --print %(filename)s $URL"
YTDL_CMD="$YTDL_CMD_BASE --output \"$YTDL_OUTPUT_FORMAT\" \"$URL\""
# Notify and perform simulation to get filename (feedback to user)