MagnetMagnet
MagnetMagnet is a scraper that allows you to scrape torrent information, such as: magnet links, name, size, seeders and leachers, from Kick Ass Torrents, Nyaa, RARBG, The Pirate Bay and 1377x in any category and sub category
Install / Use
/learn @eliasbenb/MagnetMagnetREADME
<a href="#"><h3 align="center"><img src="https://i.ibb.co/gT6WFtR/Magnet-Magnet-Header.png" width="600px"></h3></a>
<p align="center"> <a href="https://github.com/eliasbenb/MagnetMagnet/releases"><img src="https://img.shields.io/github/downloads/eliasbenb/MagnetMagnet/total?color=%234197fe&style=for-the-badge"></a> <a href="https://github.com/eliasbenb/MagnetMagnet/releases/latest"><img src="https://img.shields.io/github/v/release/eliasbenb/MagnetMagnet?color=%234197fe&style=for-the-badge"></a> </p> <p align="center"> <a href="https://eliasbenb.github.io"><img src="https://i.ibb.co/rmDXnnk/Magnet-Magnet-prod.png" width="180"></a> </p>What is this repo?
MagnetMagnet is well, a magnet link magnet, it's a scraper that allows you to scrape torrent magnet links from a range of torrent indexers. I decided to make this app to improve my Python skills.
Features supported:
- Supported torrent indexers:
- 1377x
- Kick Ass Torrents
- Nyaa
- RARBG
- The Pirate Bay
- Scraping magnet links using specific keywords
- Choosing the category/subcategory to scrape magnet links from
- Exporting magnet links to a .txt file in local directory
- Copy specific magnet links to the clipboard on click
- Sort alphabetically, by most seeders or by most leechers (and vice versa)
- Auto version checker
- Cross platform
To do list:
- ~~Add Nyaa support~~
- ~~Add maximum scraping limit~~
- ~~Add a self updater~~
- Make scraping asynchronous
Installation
- Windows: To install MagnetMagnet either download the latest executable file from here
- Other: If you're using Linux/MacOS or the above methods for Windows didn't work, you can download the entire repository from here and run main.py using Python, dependencies must be installed with
pip install -r requirements.txt
Usage:
Home Screen:
- On launch you get five options of torrent indexers to scrape from: 1377x, Kick Ass Torrents, Nyaa, RARBG and The Pirate Bay
- There is also a sixth tab named 'Search' which allows you to scrape the aforementioned torrent indexers for specific words
Search:
- In the Search app you have four user editable fields:
- Checkboxes: you can select/deselect the torrent indexers you would like to search from
- Search box: here you enter the search query you would like to scrape
- Table: the table displays the title names, seeders and leechers for the torrents scraped, here you can copy the magnet link you would like by selecting a row
- Slider the slider allows you to limit the amount of torrents scraped per torrent indexer
Scrapers:
- There are only two user changeable fields in the scraper apps:
- Domain: the first field is for the domain, here just choose the torrent indexer's domain
- Category: the second field is for the category which you can choose from the drop down box
Building
- Create a Python virtual environment and activate it
- Install all the requirements in
requirements.txt(you need to have wheel installed beforehand) - Then install pyinstaller with
pip install pyinstaller - Run
pyinstaller -n MagnetMagnet -i ./src/icon.ico -w -F main.py
