diff --git a/config/config.go b/config/config.go index 18cc7db..5bac411 100644 --- a/config/config.go +++ b/config/config.go @@ -70,26 +70,12 @@ func DefaultConfig() *Root { Name: "server", Path: serverFolder, Trackers: []string{ + "wss://tracker.btorrent.xyz", + "wss://tracker.openwebtorrent.com", "http://p4p.arenabg.com:1337/announce", "udp://tracker.opentrackr.org:1337/announce", - "udp://9.rarbg.com:2810/announce", "udp://open.tracker.cl:1337/announce", - "udp://open.stealth.si:80/announce", - "udp://exodus.desync.com:6969/announce", "http://openbittorrent.com:80/announce", - "udp://www.torrent.eu.org:451/announce", - "udp://vibe.sleepyinternetfun.xyz:1738/announce", - "udp://udp-tracker.shittyurl.org:6969/announce", - "udp://tracker1.bt.moack.co.kr:80/announce", - "udp://tracker0.ufibox.com:6969/announce", - "udp://tracker.zerobytes.xyz:1337/announce", - "udp://tracker.torrent.eu.org:451/announce", - "udp://tracker.tiny-vps.com:6969/announce", - "udp://tracker.theoks.net:6969/announce", - "udp://tracker.pomf.se:80/announce", - "udp://tracker.moeking.me:6969/announce", - "udp://tracker.leech.ie:1337/announce", - "udp://tracker.altrosky.nl:6969/announce", }, }, }, diff --git a/fs/torrent_test.go b/fs/torrent_test.go index 1cb7439..9ac3f7e 100644 --- a/fs/torrent_test.go +++ b/fs/torrent_test.go @@ -17,6 +17,9 @@ func TestMain(m *testing.M) { cfg := torrent.NewDefaultClientConfig() cfg.DataDir = os.TempDir() + // disable webseeds to avoid a panic when closing client on tests + cfg.DisableWebseeds = true + client, err := torrent.NewClient(cfg) if err != nil { panic(err) diff --git a/templates/config_template.yaml b/templates/config_template.yaml index eaca9cd..04e417d 100644 --- a/templates/config_template.yaml +++ b/templates/config_template.yaml @@ -94,23 +94,9 @@ servers: # Trackers to be used to announce the served content. If tracker_url is set and it fails, # this list will be used instead. trackers: + - "wss://tracker.btorrent.xyz" + - "wss://tracker.openwebtorrent.com" - "http://p4p.arenabg.com:1337/announce" - "udp://tracker.opentrackr.org:1337/announce" - - "udp://9.rarbg.com:2810/announce" - "udp://open.tracker.cl:1337/announce" - - "udp://open.stealth.si:80/announce" - - "udp://exodus.desync.com:6969/announce" - "http://openbittorrent.com:80/announce" - - "udp://www.torrent.eu.org:451/announce" - - "udp://vibe.sleepyinternetfun.xyz:1738/announce" - - "udp://udp-tracker.shittyurl.org:6969/announce" - - "udp://tracker1.bt.moack.co.kr:80/announce" - - "udp://tracker0.ufibox.com:6969/announce" - - "udp://tracker.zerobytes.xyz:1337/announce" - - "udp://tracker.torrent.eu.org:451/announce" - - "udp://tracker.tiny-vps.com:6969/announce" - - "udp://tracker.theoks.net:6969/announce" - - "udp://tracker.pomf.se:80/announce" - - "udp://tracker.moeking.me:6969/announce" - - "udp://tracker.leech.ie:1337/announce" - - "udp://tracker.altrosky.nl:6969/announce" \ No newline at end of file