From 678a98253544c365e33b5a0c1d91992c0de3e563 Mon Sep 17 00:00:00 2001 From: Xhofe Date: Mon, 7 Mar 2022 14:36:25 +0800 Subject: [PATCH] feat: add sleep for lanzou request (close #690) --- drivers/lanzou/lanzou.go | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/lanzou/lanzou.go b/drivers/lanzou/lanzou.go index ddc09d7f..e87548e7 100644 --- a/drivers/lanzou/lanzou.go +++ b/drivers/lanzou/lanzou.go @@ -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