mirror of
https://codeberg.org/pluja/kycnot.me
synced 2025-07-05 03:56:59 -04:00
clear html on each tos review iteration
This commit is contained in:
parent
9b674eafe3
commit
6b57f6153f
1 changed files with 2 additions and 4 deletions
|
@ -110,11 +110,9 @@ func trigerScraping() {
|
|||
log.Error().Err(err).Msgf("Could not save ToS highlights from %v", service.TosUrls[0])
|
||||
continue
|
||||
}
|
||||
/*_, err = service.Update().SetTosReviews(&highlights).Save(context.Background())
|
||||
service.Update().SetUpdatedAt(time.Now()).Save(context.Background())
|
||||
service.Update().SetLastCheck(time.Now()).Save(context.Background())
|
||||
utils.AddServiceUpdateActions(service, "Scraped the Terms of Service.")*/
|
||||
|
||||
// clear html
|
||||
html = ""
|
||||
// Sleep 1 second
|
||||
time.Sleep(1 * time.Second)
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue