Adds chapter 11
parent
c6cd1643d0
commit
ae2e9fae9c
|
@ -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"
|
||||
|
|
Loading…
Reference in New Issue