aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorsinanmohd <sinan@firemail.cc>2023-04-28 16:11:39 +0530
committersinanmohd <sinan@firemail.cc>2023-04-28 16:11:39 +0530
commitbe4a8f808abf4eee23b8a3adc26468a376c8bd5f (patch)
tree0e4fdc904f210a0ccf088619e50d22d3cad280bd
parent517ca983569e87eb0e17ef0f7b714573fc9520da (diff)
1337x, yts: get rid of the proxy fallback, they are unreliable
-rwxr-xr-x1337x4
-rwxr-xr-xyts4
2 files changed, 0 insertions, 8 deletions
diff --git a/1337x b/1337x
index e3f4e4d..ff3e753 100755
--- a/1337x
+++ b/1337x
@@ -1,7 +1,6 @@
#!/bin/sh
url_1337x="https://1337x.to"
-proxy_1337x="https://1337x.torrentbay.to"
menu="wmenu"
die()
@@ -69,9 +68,6 @@ main()
dep_check "$menu"
- curl -Is "$url_1337x" > /dev/null ||
- url_1337x="$proxy_1337x"
-
query="${*:-$(printf "" | "$menu" -p " ")}"
[ -z "$query" ] &&
die "please enter a query"
diff --git a/yts b/yts
index 38ae681..6b5bc95 100755
--- a/yts
+++ b/yts
@@ -1,7 +1,6 @@
#!/bin/sh
url_yts="https://yts.mx"
-proxy_yts="https://yts.torrentbay.to"
menu="wmenu"
die()
@@ -83,9 +82,6 @@ main()
[ -z "$query" ] &&
die "please enter a query"
- curl -Is "$url_yts" > /dev/null ||
- url_yts="$proxy_yts"
-
fetch="$(search_yts "$query")"
dllink="$(dllink_yts "$(echo "$fetch" | tr '-' ' ' | "$menu" -l 25 -p " " | tr ' ' '-')")"