From cba50506f8d10075c7ed9ca4e058b307ca428a70 Mon Sep 17 00:00:00 2001 From: aniketfuryrocks Date: Sun, 2 Jan 2022 01:13:23 +0530 Subject: [PATCH 1/4] webtorrent-cli --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 8ff1234..a90fa4c 100644 --- a/README.md +++ b/README.md @@ -16,7 +16,7 @@ For scraping, the script uses simple gnu utils like sed, awk, paste, cut. ## Requirements -* [webtorrent](https://webtorrent.io/) - A tool to stream torrent. `sudo npm install webtorrent -g` +* [webtorrent](https://webtorrent.io/) - A tool to stream torrent. `npm install webtorrent-cli -g` ## Installation From 2f3a3108e2c4ff6291f9ecb1a86726809664ba5f Mon Sep 17 00:00:00 2001 From: aniketfuryrocks Date: Sun, 2 Jan 2022 01:13:33 +0530 Subject: [PATCH 2/4] dmenu echo stdin --- notflix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/notflix b/notflix index 3d380f7..5cdb811 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 From 52ddd94762adbd241f235ce10a1ad1dcc70400c6 Mon Sep 17 00:00:00 2001 From: aniketfuryrocks Date: Sun, 2 Jan 2022 01:21:48 +0530 Subject: [PATCH 3/4] readme fmt --- README.md | 17 ++++++++++++----- 1 file changed, 12 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index a90fa4c..f3529eb 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,26 @@ 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. -- To uninstall, simply remove `notflix` from your **$PATH**, for example `sudo rm -f /usr/local/bin/notflix. +- To uninstall, simply remove `notflix` from your **$PATH**, for example + +```bash +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). From 365b9368c032c8420ddb4dd9bc86467f0c463666 Mon Sep 17 00:00:00 2001 From: Aniket Prajapati <42654595+aniketfuryrocks@users.noreply.github.com> Date: Sun, 2 Jan 2022 01:25:02 +0530 Subject: [PATCH 4/4] Update README.md --- README.md | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index f3529eb..091d1af 100644 --- a/README.md +++ b/README.md @@ -21,8 +21,6 @@ For scraping, the script uses simple gnu utils like sed, awk, paste, cut. ## Installation -### cURL - cURL **notflix** to your **$PATH** and give execute permissions. ```sh @@ -30,8 +28,11 @@ sudo curl -sL "https://raw.githubusercontent.com/Bugswriter/notflix/master/notfl sudo chmod +x /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 +*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