From 82c4d1f5cca68fed09532aa30e5ce095b7188420 Mon Sep 17 00:00:00 2001 From: yyasha Date: Wed, 31 Jan 2024 11:35:38 +0300 Subject: [PATCH] parse all pages in parser --- cmd/parser/main.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/cmd/parser/main.go b/cmd/parser/main.go index e32e62a..ea54090 100644 --- a/cmd/parser/main.go +++ b/cmd/parser/main.go @@ -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)