Merge pull request #188 from vijayanandnandam/master

Fixes documentation in readme for multiscrape api
This commit is contained in:
Feross Aboukhadijeh 2017-01-16 05:07:01 -08:00 committed by GitHub
commit e4e680bfc5

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