mirror of
https://github.com/HChaZZY/alist.git
synced 2025-12-22 18:17:10 +08:00
feat(quark): add preset range header (close #4166)
This commit is contained in:
@@ -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
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user