mirror of
https://github.com/webtorrent/bittorrent-tracker.git
synced 2024-12-13 19:06:27 +00:00
Merge pull request #188 from vijayanandnandam/master
Fixes documentation in readme for multiscrape api
This commit is contained in:
commit
e4e680bfc5
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user