From c5d03aca6dfde53c537764a33d0906f787e1ac4b Mon Sep 17 00:00:00 2001 From: Bel LaPointe Date: Wed, 15 Dec 2021 08:23:59 -0700 Subject: [PATCH] support mosnter manual --- poc.sh | 3 +++ 1 file changed, 3 insertions(+) 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