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
    but may not be today = int(date.today().strftime("%d")) @@ -162,7 +162,7 @@ if ffacent: for x in ffacent: x = x[13:] ffacentnew.append(x) - ffaformat = ", ".join(ffacentnew) + ffaformat = "; ".join(ffacentnew) print("fail-fandomanon (any): \033[1m" + ffaformat + "\033[0m (" + ffaprompt + ")\n") thefile.write("- [[" + ffaprompt + "][fail-fandomanon]] (any): *" + ffaformat + "*\n")