parse all pages in parser

This commit is contained in:
yyasha 2024-01-31 11:35:38 +03:00
parent 4eeadd3397
commit 82c4d1f5cc
1 changed files with 2 additions and 1 deletions

View File

@ -48,7 +48,8 @@ func main() {
os.Exit(1)
}
// 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 {
log.Error("Parse failed", sl.Err(err))
os.Exit(1)