fix: torrent hash

This commit is contained in:
Simon Ding
2025-02-02 11:55:11 +08:00
parent 2821d49673
commit 8a8bf87c32

View File

@@ -246,7 +246,7 @@ func Link2Hash(link string) (string, error) {
if err != nil {
return "", errors.Wrap(err, "parse response")
}
return info.HashInfoBytes().AsString(), nil
return info.HashInfoBytes().HexString(), nil
}
func Link2Magnet(link string) (string, error) {