Bugswriter / notflix

Notflix is a shell script to search and stream torrent.
GNU General Public License v3.0
1.9k stars 175 forks source link

link https://1337x.wtf doesnt work #89

Closed Suwper closed 1 year ago

Suwper commented 2 years ago

the link https://1337x.wtf doesnt work as intended.

It can be fixed by changing the url to https://1337x.to.

fix:

!/bin/sh

query=$(printf '%s' "$" | tr ' ' '+' ) 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

DemonKingSwarn commented 2 years ago

i kinda fixed that issue https://github.com/DemonKingSwarn/notflix

ShabirK21 commented 2 years ago

i still get /usr/local/bin/notflix: line 6: peerflix: command not found

Suwper commented 2 years ago

i still get /usr/local/bin/notflix: line 6: peerflix: command not found

I had the same issue when reinstalling notflix, just do

git clone https://github.com/Bugswriter/notflix

then cd in the notflix directory and do

sudo cp -r notflix /usr/local/bin

hope this helps

ShabirK21 commented 2 years ago

Im still getting the same error

GhoulBoii commented 2 years ago

Install peerflix first with npm sudo npm install peerflix -g

Suwper commented 2 years ago

Install peerflix first with npm sudo npm install peerflix -g

and mpv or vlc if you havent

sagastvme commented 2 years ago

I live in Spain and that website is locked by the internet provider so I used this link https://1337x.unblockit.cat/ from unblockit.how