diff --git a/pkgs/pxy/main.go b/pkgs/pxy/main.go index dee8d02..f4c0f51 100644 --- a/pkgs/pxy/main.go +++ b/pkgs/pxy/main.go @@ -1,28 +1,23 @@ package main -import ( - "github.com/gvcgo/collector/pkgs/confs" - "github.com/gvcgo/collector/pkgs/versions" -) - func main() { // sites.TestEDomains() // sites.TestEDCollector() // sites.TestTDomains() // os.Setenv(confs.ToEnableProxyEnvName, "true") - // app := NewApp() - // app.Run() - - cfg := confs.NewCollectorConf() + app := NewApp() + app.Run() - dl := versions.NewDlang(cfg) - dl.FetchAll() - dl.Upload() + // cfg := confs.NewCollectorConf() // gh := versions.NewGithubRepo(cfg) // gh.FetchAll() // gh.Upload() + // dl := versions.NewDlang(cfg) + // dl.FetchAll() + // dl.Upload() + // gr := versions.NewGroovy(cfg) // gr.FetchAll() // gr.Upload() diff --git a/pkgs/versions/github.go b/pkgs/versions/github.go index 7446888..e8c7227 100644 --- a/pkgs/versions/github.go +++ b/pkgs/versions/github.go @@ -128,7 +128,6 @@ func filterGithubByUrl(dUrl string) bool { "upx$powerpc", "upx$dos", "upx$arm_linux", - "serve-d$.tar.xz", } for _, s := range excludeList {