aboutsummaryrefslogtreecommitdiffstats
path: root/cmd/nekocrawl.go
blob: 2852e4fc02ef401acfabaaa32b862a7beb387d6d (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
package main

import (
	"neko/config"
	"neko/crawler"
	"neko/models"
	"os"
)

func main() {
	config.Read(os.Args[1])
	models.InitDB(config.Config.DBServer)
	crawler.Crawl()
}