From ae2e9fae9c6e8f294927d90ae5a9cd117d66e5e9 Mon Sep 17 00:00:00 2001 From: Nemo Date: Tue, 2 Jun 2020 16:23:12 +0530 Subject: [PATCH] Adds chapter 11 --- generate.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/generate.sh b/generate.sh index 37e1243..e0ab0a2 100755 --- a/generate.sh +++ b/generate.sh @@ -12,8 +12,9 @@ wget https://www.theickabog.com/lord-spittleworth-tells-tales/ -O ch7.html wget https://www.theickabog.com/the-day-of-petition/ -O ch8.html wget https://www.theickabog.com/the-shepherds-story/ -O ch9.html wget https://www.theickabog.com/king-freds-quest/ -O ch10.html +wget https://www.theickabog.com/the-journey-north/ -O ch11.html -for i in $(seq 1 10); do +for i in $(seq 1 11); do CHAPTER_TITLE=$(cat "ch$i.html" | pup 'h1.entry-title:nth-child(2) text{}') echo "

$CHAPTER_TITLE

" >> "$HTML_FILE" cat "ch$i.html" | pup 'article div.row:nth-child(2) div.entry-content' >> "$HTML_FILE"