|
|
@ -229,7 +229,7 @@ with requests.Session() as s:
|
|
|
|
fffcmadnesspromptpage = s.get(fffcmadnesspromptnew)
|
|
|
|
fffcmadnesspromptpage = s.get(fffcmadnesspromptnew)
|
|
|
|
fffcmadnesspromptsoup = BeautifulSoup(fffcmadnesspromptpage.content, "html.parser")
|
|
|
|
fffcmadnesspromptsoup = BeautifulSoup(fffcmadnesspromptpage.content, "html.parser")
|
|
|
|
fffcmadnessprompttext = fffcmadnesspromptsoup.find(class_="entry-content")
|
|
|
|
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")
|
|
|
|
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")
|
|
|
|
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())
|
|
|
|
fffcregularprompts = fffcsoup.find_all("h3", string=lambda text: "regular challenge" in text.lower())
|
|
|
|