added tapology updater for all events

This commit is contained in:
2025-02-16 21:21:35 -06:00
parent c8184d5a71
commit a494fc3bf8
4 changed files with 97 additions and 22 deletions
+5 -2
View File
@@ -18,10 +18,13 @@ var migrations embed.FS
func main() {
q, err := InitDb("db.sqlite")
if err != nil {
fmt.Println("Error initializing database: ", err)
fmt.Println("Error initializing database:", err)
} else {
client := NewScraperClient()
ScrapeEvents(q, client)
err := UpdateAllTapology(q, client)
if err != nil {
fmt.Println("Error updating all tapology:", err)
}
}
}