torrent.go | 7 +++++++ diff --git a/torrent.go b/torrent.go index a4ae4b48c4bb340a310edefa1a67a304038e34e6..b30da881e6d8cf0add1d2d469b2d71c04a57b98a 100644 --- a/torrent.go +++ b/torrent.go @@ -674,6 +674,13 @@ } else { return nil } }(), + UrlList: func() []string { + ret := make([]string, 0, len(t.webSeeds)) + for url := range t.webSeeds { + ret = append(ret, url) + } + return ret + }(), } }