type ScrapeResponse []ScrapeInfohashResult
type ScrapeInfohashResult struct {
- Seeders int32
- Completed int32
- Leechers int32
+ // I'm not sure why the fields are named differently for HTTP scrapes.
+ // https://www.bittorrent.org/beps/bep_0048.html
+ Seeders int32 `bencode:"complete"`
+ Completed int32 `bencode:"downloaded"`
+ Leechers int32 `bencode:"incomplete"`
}