From 50e3588fe2c79e0944a0fb565fd8244ac82778c8 Mon Sep 17 00:00:00 2001 From: Elmassaoudi Yassine Date: Sun, 30 Jan 2022 00:38:36 +0100 Subject: [PATCH] Edit (peerflix): list files before playing this is to handle torrents with multiple files like a whole series or somthg adding the ability to choose the file to play instead of just playing the last one automatically --- notflix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/notflix b/notflix index f74f6a1..81dc32a 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 -k $magnet +peerflix -l -k $magnet