parse all pages in parser
This commit is contained in:
parent
4eeadd3397
commit
82c4d1f5cc
|
@ -48,7 +48,8 @@ func main() {
|
||||||
os.Exit(1)
|
os.Exit(1)
|
||||||
}
|
}
|
||||||
// run parser
|
// run parser
|
||||||
_, err = parser.SavePage(log, 1, mstorage, storage, storage)
|
// _, err = parser.SavePage(log, 1, mstorage, storage, storage)
|
||||||
|
err = parser.SaveAllPages(log, mstorage, storage, storage)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
log.Error("Parse failed", sl.Err(err))
|
log.Error("Parse failed", sl.Err(err))
|
||||||
os.Exit(1)
|
os.Exit(1)
|
||||||
|
|
Loading…
Reference in New Issue