mirror of
https://codeberg.org/hyperreal/go-torrent-helper
synced 2024-11-01 16:53:09 +01:00
Fix Kali download URL
This commit is contained in:
parent
394739d135
commit
e48e2e30e9
@ -18,7 +18,7 @@ type Kali struct {
|
|||||||
|
|
||||||
func (k Kali) AddNewTorrents(transmissionbt *transmissionrpc.Client) error {
|
func (k Kali) AddNewTorrents(transmissionbt *transmissionrpc.Client) error {
|
||||||
// Send HTTP GET request and receive response
|
// Send HTTP GET request and receive response
|
||||||
k.URL = fmt.Sprintf("https://cdimage.kali.org/kali-%s", k.Relver)
|
k.URL = "https://kali.download/base-images/current"
|
||||||
respBody, err := common.GetResponse(k.URL)
|
respBody, err := common.GetResponse(k.URL)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
return err
|
return err
|
||||||
|
Loading…
Reference in New Issue
Block a user