diff --git a/notflix b/notflix index 81dc32a..dc9d294 100755 --- a/notflix +++ b/notflix @@ -3,4 +3,4 @@ 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 +peerflix -l -k $magnet || echo "Make sure to install peerflix: npm install -g peerflix"