diff --git a/poc.sh b/poc.sh index f9e4b51..d175015 100644 --- a/poc.sh +++ b/poc.sh @@ -11,6 +11,7 @@ main() { #set -x + #scrape_book_chapter https://www.dndbeyond.com/sources/mm/monsters-e #scrape_book_chapter https://www.dndbeyond.com/compendium/rules/dmg/appendix-b-monster-lists #scrape_book_chapter https://www.dndbeyond.com/compendium/rules/phb/credits | less @@ -141,6 +142,8 @@ html_to_markdown() { echo Introduction elif echo "$out" | grep '^##* Credits' &> /dev/null; then echo Credits + elif echo "$out" | grep '^##* Monsters' &> /dev/null; then + echo Monsters else log WARNING: NOTHING INDICITIVE OF TYPE OF CONTENT FOUND echo Chapter