all fixed
This commit is contained in:
@@ -44,7 +44,7 @@ func (s *Prescene) GetPage(pageNumbers []string) ([]model.ExternalSources, error
|
||||
endpoint += fmt.Sprintf(viper.GetString(constant.CfgKeyEndpointNext), t)
|
||||
}
|
||||
|
||||
//doc, err := parser.HTMLSourceFromURL("https://mdb.amok.space/$/scnlog.html")
|
||||
//doc, err := parser.HTMLSourceFromURL("https://mdb.kplus.net.ua /$/scnlog.html")
|
||||
if result, err := parseUrl(endpoint, s.db); err == nil {
|
||||
entries = append(entries, result...)
|
||||
} else {
|
||||
|
||||
@@ -144,7 +144,7 @@ func (s *ShareTheBrutality) Processing(sender map[string]string) []model.Externa
|
||||
entries = append(entries, es)
|
||||
}
|
||||
|
||||
fmt.Println(entries)
|
||||
//fmt.Println(entries)
|
||||
//os.Exit(0)
|
||||
|
||||
result, status := _table.BatchInsertOnDuplicate(entries, s.db, columns)
|
||||
|
||||
Reference in New Issue
Block a user