fix(lanzou): not find file page param (#6862 close #6857)

* fix(lanzou):not find file page param

* fix(labzou): change lanzouo.com to lanzoui.com
This commit is contained in:
foxxorcat
2024-07-25 20:09:48 +08:00
committed by GitHub
parent 5fa70e4010
commit 4a42bc5083
3 changed files with 7 additions and 2 deletions

View File

@ -30,6 +30,9 @@ func (d *LanZou) GetAddition() driver.Additional {
}
func (d *LanZou) Init(ctx context.Context) (err error) {
if d.UserAgent == "" {
d.UserAgent = "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.39 (KHTML, like Gecko) Chrome/89.0.4389.111 Safari/537.39"
}
switch d.Type {
case "account":
_, err := d.Login()