diff --git a/notflix b/notflix index 81dc32a..16d7991 100755 --- a/notflix +++ b/notflix @@ -1,6 +1,6 @@ #!/bin/sh query=$(printf '%s' "$*" | tr ' ' '+' ) -movie=$(curl -s https://1337x.wtf/search/$query/1/ | grep -Eo "torrent\/[0-9]{7}\/[a-zA-Z0-9?%-]*/" | head -n 1) -magnet=$(curl -s https://1337x.wtf/$movie | grep -Po "magnet:\?xt=urn:btih:[a-zA-Z0-9]*" | head -n 1) -peerflix -l -k $magnet +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 -l -v