Skip to content

Commit

Permalink
Merge pull request #97 from charindithjaindu/patch-1
Browse files Browse the repository at this point in the history
Update notflix
  • Loading branch information
Bugswriter committed May 13, 2023
2 parents 20f201e + 5ec850a commit 018943d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions notflix
Original file line number Diff line number Diff line change
@@ -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)
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 -l -k $magnet

0 comments on commit 018943d

Please sign in to comment.