notflix icon indicating copy to clipboard operation
notflix copied to clipboard

a minor fix and storage optimization

Open isg32 opened this issue 2 years ago • 1 comments

#!/bin/sh

cd

sudo rm -fr /tmp/torrent-stream/*

query=$(printf '%s' "$*" | tr ' ' '-' )

movie=$(curl -s https://1337x.to/search/$query/1/ | grep -Eo "torrent/[0-9]{7}/[a-zA-Z0-9?%-]*/" | head -n 1)

magnet=$(curl -s https://1337x.to/$movie | grep -Po "magnet:?xt=urn:btih:[a-zA-Z0-9]*" | head -n 1)

peerflix $magnet -k

isg32 avatar Jan 05 '23 11:01 isg32

peer flix moved [OPTIONS] to the back, added new url and clean the tmp dir

isg32 avatar Jan 05 '23 11:01 isg32