scraper done; scrapes to local sqlite db

This commit is contained in:
Ricardo (XenGi) Band 2026-09-28 15:36:42 +02:00
commit bde13e9b68
No known key found for this signature in database
18 changed files with 1585 additions and 164 deletions

14
config.go Normal file
View file

@ -0,0 +1,14 @@
package main
// Forge is a single forge instance to scrape.
type Forge struct {
Name string `yaml:"name"`
Url string `yaml:"url"`
Type string `yaml:"type"`
}
// Config is the top-level configuration file.
type Config struct {
DbPath string `yaml:"db_path"`
Forges []Forge `yaml:"forges"`
}