Skip to content

Commit 678a982

Browse files
committed
feat: add sleep for lanzou request (close AlistGo#690)
1 parent b2c02e6 commit 678a982

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

drivers/lanzou/lanzou.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -153,6 +153,7 @@ func (driver *Lanzou) GetFilesByUrl(account *model.Account) ([]LanZouFile, error
153153
break
154154
}
155155
pg++
156+
time.Sleep(time.Second)
156157
files = append(files, resp.Text...)
157158
}
158159
return files, nil

0 commit comments

Comments
 (0)