Skip to content

Commit cde079c

Browse files
author
vijayanand nandam
committed
fixes documentation in readme for multiscrape api
1 parent a727fd9 commit cde079c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -217,7 +217,7 @@ Scraping multiple torrent info is possible with a static `Client.scrape` method:
217217

218218
```js
219219
var Client = require('bittorrent-tracker')
220-
Client.scrape(announceUrl, [ infoHash1, infoHash2 ], function (err, results) {
220+
Client.scrape({ announce: announceUrl, infoHash: [ infoHash1, infoHash2 ]}, function (err, results) {
221221
results[infoHash1].announce
222222
results[infoHash1].infoHash
223223
results[infoHash1].complete

0 commit comments

Comments
 (0)