first rendered html

This commit is contained in:
github_username_here
2026-03-25 17:01:33 +01:00
parent ce18cc23c1
commit 94dfe07839
6 changed files with 2273 additions and 157 deletions

View File

@@ -2,8 +2,10 @@ package main
import(
"project.hechon.fr/internal/renderer"
/* "project.hechon.fr/internal/fetcher"
*/
/*
"project.hechon.fr/internal/fetcher"
*/
"log"
"os"
"strings"
@@ -48,16 +50,18 @@ func main (){
os.Exit(1)
}
cfg.ProperName = properName
/*
err = fetcher.FetchBook(&cfg)
*/
err = renderer.ExtractChapter(&cfg, 2)
err = renderer.ExtractChapter(&cfg, 68)
if err != nil {
log.Printf("******%s*******\n", err)
os.Exit(1)
}
/* log.Printf("%v", cfg.Book.Chapters)
*/
os.Exit(0)
}