Skip to content

It is like a Netflix but, but in reality, it is a scraper

License

Notifications You must be signed in to change notification settings

EmilioSchi/notflix-mac

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 

Repository files navigation

NOTFLIX FOR MAC

notflix-mac is a command terminal tool that search magnet links and stream it with webtorrent

Introduction

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.

How does this work?

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.

Usage

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.

Dependencies

webtorrent

To install with brew:

brew install webtorrent-cli

mpv

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.

Installation on Mac (maybe work on linux too)

$ 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

Uninstall

$ sudo rm -f /usr/local/bin/notflix-mac

About

It is like a Netflix but, but in reality, it is a scraper

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages