diff --git a/README.md b/README.md index a90fa4c..091d1af 100644 --- a/README.md +++ b/README.md @@ -2,6 +2,7 @@

f@#k netflix use notflix a tool which search magnet links and stream it with webtorrent

## +

Video Preview

@@ -16,20 +17,27 @@ For scraping, the script uses simple gnu utils like sed, awk, paste, cut. ## Requirements -* [webtorrent](https://webtorrent.io/) - A tool to stream torrent. `npm install webtorrent-cli -g` +- [webtorrent](https://webtorrent.io/) - A tool to stream torrent. `npm install webtorrent-cli -g` ## Installation -### cURL cURL **notflix** to your **$PATH** and give execute permissions. ```sh -$ sudo curl -sL "https://raw.githubusercontent.com/Bugswriter/notflix/master/notflix" -o /usr/local/bin/notflix -$ sudo chmod +x /usr/local/bin/notflix +sudo curl -sL "https://raw.githubusercontent.com/Bugswriter/notflix/master/notflix" -o /usr/local/bin/notflix +sudo chmod +x /usr/local/bin/notflix +``` + +*To update, just do `curl` again, no need to `chmod` anymore.* + +## Uninstall + +To uninstall, simply remove `notflix` from your **$PATH**, for example + +```bash +sudo rm -f /usr/local/bin/notflix ``` -- To update, just do `curl` again, no need to `chmod` anymore. -- To uninstall, simply remove `notflix` from your **$PATH**, for example `sudo rm -f /usr/local/bin/notflix. ## License -This project is licensed under [GPL-3.0](https://raw.githubusercontent.com/Illumina/licenses/master/gpl-3.0.txt). +This project is licensed under [GPL-3.0](https://raw.githubusercontent.com/Illumina/licenses/master/gpl-3.0.txt). diff --git a/notflix b/notflix index 4386eaf..458b9ce 100755 --- a/notflix +++ b/notflix @@ -10,7 +10,7 @@ baseurl="https://1337x.wtf" cachedir="$HOME/.cache/notflix" if [ -z $1 ]; then - query=$(dmenu -p "Search Torrent: " <&-) + query=$(echo "" | dmenu -p "Search Torrent: ") else query=$1 fi