Closed meotimdihia closed 2 years ago
Maybe wss?
I changed it to 'wss' the result is the same. This is a code example: https://repl.it/@meotimdihia/ExpertLovableSolution#index.js
const Client = require('bittorrent-tracker')
Client.scrape({
announce: "wss://tracker.btorrent.xyz",
infoHash: ["23e5e897a680ac74c4b4b49384f636418e343398"]
}, function (err, results) {
if (err) {
console.log("ERRRROR: " + err)
} else {
console.log(results)
}
})
Did you ever solve this?
I am using code from https://github.com/webtorrent/bittorrent-tracker:
And get this error:
Error: Unsupported tracker protocol: ws://tracker.btorrent.xyz