Adds chapter 11

This commit is contained in:
Nemo 2020-06-02 16:23:12 +05:30
parent c6cd1643d0
commit ae2e9fae9c
1 changed files with 2 additions and 1 deletions

View File

@ -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 "<h2>$CHAPTER_TITLE</h2>" >> "$HTML_FILE"
cat "ch$i.html" | pup 'article div.row:nth-child(2) div.entry-content' >> "$HTML_FILE"