From be4a8f808abf4eee23b8a3adc26468a376c8bd5f Mon Sep 17 00:00:00 2001 From: sinanmohd Date: Fri, 28 Apr 2023 16:11:39 +0530 Subject: 1337x, yts: get rid of the proxy fallback, they are unreliable --- 1337x | 4 ---- yts | 4 ---- 2 files changed, 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 ' ' '-')")" -- cgit v1.2.3