Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

scrape

import { scrape } from "https://raw.githubusercontent.com/rclarey/bt/master/mod.ts";

Make a scrape request to the tracker URL

Passing an empty array for infoHashes requests info for all torrents

function scrape(url: string, infoHashes: Uint8Array[]): Promise<ScrapeData[]>;
§
scrape(url: string, infoHashes: Uint8Array[]): Promise<ScrapeData[]>
[src]

§Parameters

§
url: string
[src]
§
infoHashes: Uint8Array[]
[src]

§Return Type