mirror of
https://github.com/simon-ding/polaris.git
synced 2026-02-20 05:50:46 +08:00
13 lines
291 B
Go
13 lines
291 B
Go
package utils
|
|
|
|
import (
|
|
"polaris/log"
|
|
"testing"
|
|
)
|
|
|
|
func TestLink2Magnet(t *testing.T) {
|
|
s, err := Link2Hash("https://api.m-team.io/api/rss/dlv2?useHttps=true&type=ipv6&sign=1a5174668feea2630acfd6a665f41e5c&t=1738468436&tid=901313&uid=346577")
|
|
log.Errorf("%v", err)
|
|
log.Infof("%v", s)
|
|
}
|