aboutsummaryrefslogtreecommitdiff
path: root/yts
diff options
context:
space:
mode:
authorsinanmohd <sinan@firemail.cc>2023-03-20 17:12:40 +0530
committersinanmohd <sinan@firemail.cc>2023-03-20 17:12:40 +0530
commit4387ee91cf388be1a2769755c5993e1f35497602 (patch)
treede312020092d00437ee8e248ecdbb7668977a735 /yts
parent91a695a17cd0c77369a80680c59dd1fe715dfe4d (diff)
font: switch to font awesome for icons
Diffstat (limited to 'yts')
-rwxr-xr-xyts8
1 files changed, 4 insertions, 4 deletions
diff --git a/yts b/yts
index 079c628..38ae681 100755
--- a/yts
+++ b/yts
@@ -9,7 +9,7 @@ die()
: "${1:?}"
command -v notify-send > /dev/null &&
- notify-send " yts" "$1"
+ notify-send " yts" "$1"
printf "\033[31;1merr: %b\033[0m\n" "$1"
exit "${2:-1}"
@@ -51,7 +51,7 @@ dllink_yts()
id=
fetch="$(get_yts "movies/$1" | grep -Eo "value=\"[A-Z0-9]{40}\">[a-zA-Z0-9 ]*")"
- select="$(echo "$fetch" | cut -d'>' -f2 | "$menu" -l 25 -p " ")"
+ select="$(echo "$fetch" | cut -d'>' -f2 | "$menu" -l 25 -p " ")"
[ -z "$select" ] &&
die "please select a quality"
id="$(echo "$fetch" | grep "$select" | cut -d'"' -f2)"
@@ -79,7 +79,7 @@ main()
dep_check "$menu"
- query="${*:-$(printf "" | "$menu" -p " ")}"
+ query="${*:-$(printf "" | "$menu" -p " ")}"
[ -z "$query" ] &&
die "please enter a query"
@@ -87,7 +87,7 @@ main()
url_yts="$proxy_yts"
fetch="$(search_yts "$query")"
- dllink="$(dllink_yts "$(echo "$fetch" | tr '-' ' ' | "$menu" -l 25 -p " " | tr ' ' '-')")"
+ dllink="$(dllink_yts "$(echo "$fetch" | tr '-' ' ' | "$menu" -l 25 -p " " | tr ' ' '-')")"
[ -z "$dllink" ] &&
die "empty magnet"