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'sdgram
module. - A simple frontend in
index.html
styled with Tailwind CSS for input and results display.
-
Clone the repository.
-
Install dependencies:
npm install
-
Start the server:
npm start
-
Open your browser and navigate to http://localhost:3020.
-
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.
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 |