From 8e3a9e4c0f5f62e0537e6db93c41d023f7285f86 Mon Sep 17 00:00:00 2001 From: Sidheshwar S <84003394+sidheshwar-s@users.noreply.github.com> Date: Thu, 17 Feb 2022 22:46:42 +0530 Subject: [PATCH] Updated base url domain and peerflix command --- notflix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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