A rofi client for scraping.
Watch BugsWriters video on it - bugswriter's notflix
This is a shell script. It scrapes 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 sed, awk, paste, cut.
webtorrent-rofi
webtorrent-rofi [query]
- webtorrent - A tool to stream torrent.
- rofi - A window switcher, Application launcher and dmenu replacement.
# npm install webtorrent-cli -g
# pacman -S rofi
# curl -sL "https://raw.githubusercontent.com/ahuactl/webtorrent-rofi/master/webtorrent-rofi" -o /usr/local/bin/webtorrent-rofi
# chmod +x /usr/local/bin/notflix
- To update, just do
curl
again, no need tochmod
anymore. - To uninstall, simply run
sudo rm -f /usr/local/bin/webtorrent-rofi
.
This project is licensed under GPL-3.0.