feat: add sleep for lanzou request (close #690)

pull/711/head
Xhofe 2022-03-07 14:36:25 +08:00
parent b2c02e6c5e
commit 678a982535
1 changed files with 1 additions and 0 deletions

View File

@ -153,6 +153,7 @@ func (driver *Lanzou) GetFilesByUrl(account *model.Account) ([]LanZouFile, error
break
}
pg++
time.Sleep(time.Second)
files = append(files, resp.Text...)
}
return files, nil