Skip to content
This repository was archived by the owner on Jun 22, 2025. It is now read-only.

Commit b8fd96b

Browse files
author
MadDogOwner
authored
locatedownload
1 parent 29fe49f commit b8fd96b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/baidu_share/driver.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -190,7 +190,7 @@ func (d *BaiduShare) Link(ctx context.Context, file model.Obj, args model.LinkAr
190190
"uk": {d.info.Uk},
191191
}.Encode()).
192192
SetResult(&respJson).
193-
Post("api/sharedownload?app_id=250528&channel=chunlei&clienttype=12&web=1")
193+
Post("api/locatedownload?app_id=250528&channel=chunlei&clienttype=12&web=1")
194194
if err == nil {
195195
if resp.IsSuccess() && respJson.Errno == 0 && respJson.List[0].Dlink != "" {
196196
link.URL = respJson.List[0].Dlink

0 commit comments

Comments
 (0)