notflix-mac is a command terminal tool that search magnet links and stream it with webtorrent
It is like a Netflix but in reality it is a scraper that takes magnetic torrent links and easily stream the chosen movie.
I stole the idea from notflix.
This is a C shell script. It scrapes from 1337x and gets the magnet link. After this it uses webtorrent to stream the video from the magnet link. For scraping, the script uses simple gnu utils like grep, sed, awk, paste, cut.
Open ZSH terminal and enter the name of the script followed by keywords of the movie that you want to see.
notflix-mac the title of the movie
To swim through many page (if there are other page) select 0, otherwis you can chose the movie entering the desired number.
To install with brew:
brew install webtorrent-cli
Get it on the official site: https://mpv.io/installation/
Then you need to add mpv path to the PATH variable in ZSH.
Open configuration file of ZSH writing
nano ~/.zshrc
Concatenate "/Applications/mpv.app/Contents/MacOS" between the colons ":" of the PATH variable. In my case PATH variable becomes:
export PATH=/opt/homebrew/bin:/Applications/mpv.app/Contents/MacOS:$PATH
So a PATH variable is being set somewhere.
$ sudo curl -sL "https://raw.githubusercontent.com/EmilioSchi/notflix-mac/main/notflix-mac" -o /usr/local/bin/notflix-mac
$ sudo chmod +x /usr/local/bin/notflix-mac
$ sudo rm -f /usr/local/bin/notflix-mac