fix 修复WSKEY
This commit is contained in:
parent
ef0b649e52
commit
282ac5e335
@ -23,7 +23,7 @@ type AutoGenerated struct {
|
||||
}
|
||||
|
||||
func getSign() *AutoGenerated {
|
||||
data, _ := httplib.Get("https://pan.smxy.xyz/sign").Header("user-agent", "ApiPOST Runtime +https://www.apipost.cn").Bytes()
|
||||
data, _ := httplib.Get("https://pan.smxy.xyz/sign").SetUserAgent("Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/95.0.4638.54 Safari/537.36").Bytes()
|
||||
t := &AutoGenerated{}
|
||||
json.Unmarshal(data, t)
|
||||
logs.Info(t.Sign)
|
||||
|
||||
Loading…
Reference in New Issue
Block a user