- added daily cleanup of empty tapology urls

- removed unique constraint for tapology urls
- fixed tapology url scraper
- updated go dependencies
This commit is contained in:
2026-02-01 16:17:19 -06:00
parent 06f6bca690
commit ea69970a4b
13 changed files with 2783 additions and 325 deletions
+4 -2
View File
@@ -5,6 +5,7 @@ import (
"embed"
"flag"
"fmt"
"io"
"log"
"log/slog"
"os"
@@ -51,7 +52,8 @@ func main() {
}
defer f.Close()
log.SetOutput(f)
w := io.MultiWriter(f, os.Stdout)
log.SetOutput(w)
cmd := flag.Args()[0]
@@ -66,7 +68,7 @@ func main() {
switch cmd {
case "runserver":
if !*noscraping {
slog.Debug("Starting scraping loop")
slog.Debug("Starting scraping loop")
go ScrapeEventsLoop(db, client, !*notapology)
}
err = RunServer(*host, db)