diff --git a/promptscrape.py b/promptscrape.py index ac8a4e9..8aec5a6 100644 --- a/promptscrape.py +++ b/promptscrape.py @@ -27,7 +27,7 @@ centpromptsoup = BeautifulSoup(centpromptpage.content, "html.parser") centprompttext = centpromptsoup.find(class_="entry-content") centtheprompt = centprompttext.find("strong") print("100words (100 words): \033[1m" + centtheprompt.text.lower() + "\033[0m (" + centprompt + ")\n") -thefile.write("- [[" + centprompt + "][100 words]] (100 words): *" + centtheprompt.text.lower() + "*\n") +thefile.write("- [[" + centprompt + "][100words]] (100 words): *" + centtheprompt.text.lower() + "*\n") # for this one we need to extract the right entry from a list, which may be an