Skip to content

script allows you to scrape torrent tracker information using UDP trackers to retrieve details such as the number of seeders, leechers, completed downloads, and infohash details for specified torrents.

License

Notifications You must be signed in to change notification settings

Codefa/nodejs-UDP-Torrent-Scrape

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

NodeJS UDP Torrent Scrape

This project scrapes torrent trackers using UDP requests. It includes:

  • A backend built with Express to handle scraping requests.
  • A UDP-based scraper in torrent.js using Node's dgram module.
  • A simple frontend in index.html styled with Tailwind CSS for input and results display.

Installation

  1. Clone the repository.

  2. Install dependencies:

    npm install

Usage

  1. Start the server:

    npm start
  2. Open your browser and navigate to http://localhost:3020.

  3. Use the web interface:

    • Paste a valid magnet link into the input field.
    • Click the Scrape button.
    • The backend will query all UDP trackers present in the magnet link and display the results in a responsive table with details including Tracker, Status, Seeders, Completed, and Leechers.

scrape function params

param description type
tracker URL UDP tracker URL (e.g., udp://tracker.example.com:port/announce) String
torrent infohash 40-character hexadecimal strings String or Array

About

script allows you to scrape torrent tracker information using UDP trackers to retrieve details such as the number of seeders, leechers, completed downloads, and infohash details for specified torrents.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published