diff --git a/baidupcs/transfer.go b/baidupcs/transfer.go index 23fcf5f..3117ea2 100644 --- a/baidupcs/transfer.go +++ b/baidupcs/transfer.go @@ -31,10 +31,7 @@ func (pcs *BaiduPCS) GenerateShareQueryURL(subPath string, params map[string]str Path: "/share/" + subPath, } uv := shareURL.Query() - //uv.Set("app_id", PanAppID) - //uv.Set("channel", "chunlei") uv.Set("time", strconv.Itoa(int(time.Now().UnixMilli()))) - //uv.Set("web", "1") uv.Set("clienttype", "1") for key, value := range params { uv.Set(key, value) diff --git a/internal/pcscommand/transfer.go b/internal/pcscommand/transfer.go index 00b81f6..67ed4b8 100644 --- a/internal/pcscommand/transfer.go +++ b/internal/pcscommand/transfer.go @@ -53,7 +53,6 @@ func RunShareTransfer(params []string, opt *baidupcs.TransferOption) { var vefiryurl string var randsk string featuremap := make(map[string]string) - //featuremap["surl"] = featurestr[1:len(featurestr)] featuremap["shareid"] = tokens["shareid"] featuremap["uk"] = tokens["share_uk"] if extracode != "none" {