mirror of
https://codeberg.org/pluja/kycnot.me
synced 2025-01-22 04:11:17 -05:00
clear html on each tos review iteration
This commit is contained in:
parent
9b674eafe3
commit
6b57f6153f
@ -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…
Reference in New Issue
Block a user