summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTheSiahxyz <164138827+TheSiahxyz@users.noreply.github.com>2025-07-02 06:31:17 +0900
committerTheSiahxyz <164138827+TheSiahxyz@users.noreply.github.com>2025-07-02 06:31:17 +0900
commita6b19514cb6fd3551669ca50f6af3afc33778d19 (patch)
tree847c237f56ef67601bdc15cccff4ba127b5f970f
parenta85e9b208e79c0c94dbe49cb7a8587e27235aac8 (diff)
modified bin/qndl
-rwxr-xr-xar/.local/bin/qndl6
1 files changed, 3 insertions, 3 deletions
diff --git a/ar/.local/bin/qndl b/ar/.local/bin/qndl
index 5b96155..270ed72 100755
--- a/ar/.local/bin/qndl
+++ b/ar/.local/bin/qndl
@@ -9,9 +9,9 @@ case "$BROWSER" in
*qutebrowser*) cookies="chromium:~/.local/share/qutebrowser" ;;
esac
-[ -n "$cookies" ] &&
- ytdl_cmd_base="$ytdl_cmd_base --cookies-from-browser $cookies" &&
- simulation_cmd="$simulation_cmd --cookies-from-browser $cookies"
+if [ -n "$cookies" ]; then
+ ytdl_cmd_base="$ytdl_cmd_base --cookies-from-browser \"$cookies\""
+fi
shift $((OPTIND - 1))