diff options
| author | Raymaekers Luca <raymaekers.luca@gmail.com> | 2023-08-06 14:57:01 +0200 | 
|---|---|---|
| committer | Raymaekers Luca <raymaekers.luca@gmail.com> | 2023-08-06 14:57:01 +0200 | 
| commit | e9f233edd96fe850037244c0d80bec67a8b2077f (patch) | |
| tree | 3022980cae529e8a4342715b8d29911d691d4bbc | |
| parent | bb16f75dc386c117f2bf5ecefeae7b175659e1ed (diff) | |
removed 1xsearch
| -rwxr-xr-x | bin/extra/1xsearch | 20 | 
1 files changed, 0 insertions, 20 deletions
diff --git a/bin/extra/1xsearch b/bin/extra/1xsearch deleted file mode 100755 index a248d38..0000000 --- a/bin/extra/1xsearch +++ /dev/null @@ -1,20 +0,0 @@ -#!/bin/sh - -# dependencies -which pup > /dev/null || -	exit 1 - -test -z "${query:=$1}" &&  -	query="$(cat /dev/stdin)" - -url="https://1337x.to" -query="$(echo "$query" | tr ' ' '+' )" -result="$(curl -s "$url/search/$query/1/" | -	pup -p 'a attr{href}' | -	grep "^/torrent" |  -	head -n 1)" -# result contains / as first char -curl -s "$url$result" | -	pup -p 'a attr{href}' | -	grep "^magnet:" | -	head -n 1  | 
