diff options
author | sinanmohd <sinan@firemail.cc> | 2023-04-28 16:11:39 +0530 |
---|---|---|
committer | sinanmohd <sinan@firemail.cc> | 2023-04-28 16:11:39 +0530 |
commit | be4a8f808abf4eee23b8a3adc26468a376c8bd5f (patch) | |
tree | 0e4fdc904f210a0ccf088619e50d22d3cad280bd | |
parent | 517ca983569e87eb0e17ef0f7b714573fc9520da (diff) |
1337x, yts: get rid of the proxy fallback, they are unreliable
-rwxr-xr-x | 1337x | 4 | ||||
-rwxr-xr-x | yts | 4 |
2 files changed, 0 insertions, 8 deletions
@@ -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" @@ -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 ' ' '-')")" |