Torrent Scraper avatar
Torrent Scraper
Try for free

No credit card required

View all Actors
Torrent Scraper

Torrent Scraper

ondrejklinovsky/torrent-scraper
Try for free

No credit card required

Scrape information about torrents from popular torrent sites. Download the data in JSON, CSV, and Excel.

This scraper collects information about torrents from popular torrent sites. It was inspired by cli-torrent-dl. Torrents from the sites are sorted by the number of seeds.

Torrent sites used by the scraper:

Input parameters

ParameterRequiredDescription
queryYestorrent name you search for
torrentSitesNoyou can select which site you want to scrape
pageLimitNohow many pages to scrape (at most), default to 1 if minSeedsForNextPage is not set
minSeedsForNextPageNominimum seeds each torrent needs to have in order to scrape next page

Input example

With this input, actor will scrape at most 3 pages on each site. If, for example, the last torrent on a second page has less than 10 seeds, the scraper will not scrape the next page.

1{
2    "query": "ubuntu",
3    "torrentSites": [
4        "thePirateBay",
5        "gloTorrents",
6        "limeTorrents",
7        "solidTorrents"
8    ],
9    "pageLimit": 3,
10    "minSeedsForNextPage": 10
11}

Output

Output is stored in a dataset, where each item contains information like title, size, seeds etc., but most importantly downloadUrl and magnetUrl. downloadUrl is a link where you can download the torrent file from. On the other hand, you don't need to download anything when using magnetUrl, all you need to do is to open it in your favorite torrent client. You can download the dataset extracted by Torrent Scraper in various formats such as JSON, HTML, CSV, or Excel.

Output example (JSON)

1{
2	"title": "debian-12.0.0-amd64-netinst.iso",
3	"webUrl": "https://solidtorrents.to/torrents/debian-12-0-0-amd64-netinst-iso-0d977/6486d0ab60e0fda62643a9eb/",
4	"size": "774 MB",
5	"seeds": 97,
6	"leeches": 175,
7	"magnetUrl": "magnet:?xt=urn:btih:B851474B74F65CD19F981C723590E3E520242B97&tr=udp%3A%2F%2Ftracker.bitsearch.to%3A1337%2Fannounce&tr=udp%3A%2F%2Ftracker2.dler.com%3A80%2Fannounce&tr=udp%3A%2F%2Ftracker.breizh.pm%3A6969%2Fannounce&tr=udp%3A%2F%2Fwww.torrent.eu.org%3A451%2Fannounce&tr=udp%3A%2F%2Ftracker.torrent.eu.org%3A451%2Fannounce&dn=%5BBitsearch.to%5D+debian-12.0.0-amd64-netinst.iso",
8	"downloadUrl": "https://itorrents.org/torrent/B851474B74F65CD19F981C723590E3E520242B97.torrent?title=[Bitsearch.to]debian-12.0.0-amd64-netinst.iso",
9	"origin": "https://solidtorrents.to"
10}
Developer
Maintained by Community
Actor metrics
  • 2 monthly users
  • 100.0% runs succeeded
  • 0.0 days response time
  • Created in Jul 2023
  • Modified 9 months ago
Categories