diff --git a/promptscrape.py b/promptscrape.py index 5fbbd48..6a4a6f4 100644 --- a/promptscrape.py +++ b/promptscrape.py @@ -229,7 +229,7 @@ with requests.Session() as s: fffcmadnesspromptpage = s.get(fffcmadnesspromptnew) fffcmadnesspromptsoup = BeautifulSoup(fffcmadnesspromptpage.content, "html.parser") fffcmadnessprompttext = fffcmadnesspromptsoup.find(class_="entry-content") - fffcmadnesstheprompt = fffcmadnessprompttext.find("center") + fffcmadnesstheprompt = fffcmadnessprompttext.find("b") print("fffc madness (at least 2000 words): \033[1m" + fffcmadnesstheprompt.text.lower() + "\033[0m (" + fffcmadnessprompt + ")\n") thefile.write("- [[" + fffcmadnessprompt + "][fffc madness]] (at least 2000 words): *" + fffcmadnesstheprompt.text.lower() + "*\n") fffcregularprompts = fffcsoup.find_all("h3", string=lambda text: "regular challenge" in text.lower())