added tapology updater for all events
This commit is contained in:
@@ -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)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user