fixes documentation in readme for multiscrape api

This commit is contained in:
vijayanand nandam 2017-01-08 16:08:11 +05:30
parent a727fd9012
commit cde079c419

View File

@ -217,7 +217,7 @@ Scraping multiple torrent info is possible with a static `Client.scrape` method:
```js ```js
var Client = require('bittorrent-tracker') 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].announce
results[infoHash1].infoHash results[infoHash1].infoHash
results[infoHash1].complete results[infoHash1].complete