From cde079c419fd4a746e6b0200d309dba8f29c7129 Mon Sep 17 00:00:00 2001 From: vijayanand nandam Date: Sun, 8 Jan 2017 16:08:11 +0530 Subject: [PATCH] fixes documentation in readme for multiscrape api --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index a0c3aac..a65a849 100644 --- a/README.md +++ b/README.md @@ -217,7 +217,7 @@ Scraping multiple torrent info is possible with a static `Client.scrape` method: ```js var Client = require('bittorrent-tracker') -Client.scrape(announceUrl, [ infoHash1, infoHash2 ], function (err, results) { +Client.scrape({ announce: announceUrl, infoHash: [ infoHash1, infoHash2 ]}, function (err, results) { results[infoHash1].announce results[infoHash1].infoHash results[infoHash1].complete