mirror of
https://codeberg.org/pluja/kycnot.me
synced 2025-01-08 05:37:56 -05:00
revert
This commit is contained in:
parent
6b57f6153f
commit
8863f11bcf
@ -75,6 +75,7 @@ func trigerScraping() {
|
|||||||
log.Error().Msgf("Service %v has no ToS URL", service.Name)
|
log.Error().Msgf("Service %v has no ToS URL", service.Name)
|
||||||
continue
|
continue
|
||||||
}
|
}
|
||||||
|
|
||||||
html, err := GetBody(service.TosUrls[0])
|
html, err := GetBody(service.TosUrls[0])
|
||||||
if err != nil {
|
if err != nil {
|
||||||
log.Error().Err(err).Msgf("Could not get HTML from %v", service.TosUrls[0])
|
log.Error().Err(err).Msgf("Could not get HTML from %v", service.TosUrls[0])
|
||||||
@ -111,8 +112,6 @@ func trigerScraping() {
|
|||||||
continue
|
continue
|
||||||
}
|
}
|
||||||
|
|
||||||
// clear html
|
|
||||||
html = ""
|
|
||||||
// Sleep 1 second
|
// Sleep 1 second
|
||||||
time.Sleep(1 * time.Second)
|
time.Sleep(1 * time.Second)
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user