fix(quark): denied by Referer ACL

pull/1073/head
Xhofe 2022-04-04 20:55:48 +08:00
parent 9b6adecd62
commit c413c22201
1 changed files with 1 additions and 0 deletions

View File

@ -138,6 +138,7 @@ func (driver Quark) Link(args base.Args, account *model.Account) (*base.Link, er
Url: resp.Data[0].DownloadUrl,
Headers: []base.Header{
{Name: "Cookie", Value: account.AccessToken},
{Name: "Referer", Value: "https://pan.quark.cn"},
},
}, nil
}