a simple bash script which fetches selected torrent's magnet link and downloads using qbittorrent.
check Bugswriter's notflix if you want to stream directly rather than downloading. (I copied half of the code from notflix :P)
NOTE: it requires qbittorrent & dialog to run and uses GNU Core Utilities commands
grep
,awk
,sed
,paste
etc.
pacman -S dialog qbittorrent
apt install dialog qbittorrent
For the current user:
curl https://raw.githubusercontent.com/shivajichalise/magnet/main/magnet > ~/usr/local/bin/magnet && chmod +755 ~/usr/local/bin/magnet
Or simply copy the magnet
file to a location in your $PATH
and make it executable.
- run
magnet <search-query>
or justmagnet
- if asked for input give appropriate input
- choose from given options
- torrent client will open; select required files and hit start
this script scrapes 1337x.to and gets the magnet link and then opens qbittorrent to download
Star the repository on Github Follow shivajichalise on Github