aboutsummaryrefslogtreecommitdiff
path: root/yts
diff options
context:
space:
mode:
Diffstat (limited to 'yts')
-rwxr-xr-xyts2
1 files changed, 1 insertions, 1 deletions
diff --git a/yts b/yts
index 0720885..5d6bed7 100755
--- a/yts
+++ b/yts
@@ -85,7 +85,7 @@ main()
url_yts="$proxy_yts"
fetch="$(search_yts "$query")"
- dllink="$(dllink_yts "$(echo "$fetch" | dmenu -l 25 -p " ")")"
+ dllink="$(dllink_yts "$(echo "$fetch" | tr '-' ' ' | dmenu -l 25 -p " " | tr ' ' '-')")"
[ -z "$dllink" ] &&
die "empty magnet"