feat(quark): add preset range header (close #4166)

This commit is contained in:
Andy Hsu
2023-04-16 19:26:03 +08:00
parent 220fd30830
commit ecd167d2f9
3 changed files with 16 additions and 6 deletions

View File

@ -71,6 +71,9 @@ func (d *Quark) Link(ctx context.Context, file model.Obj, args model.LinkArgs) (
"Referer": []string{"https://pan.quark.cn"},
"User-Agent": []string{ua},
},
PresetHeader: http.Header{
"Range": []string{"bytes=0-"},
},
}, nil
}