tweaks
This commit is contained in:
parent
f787dce957
commit
8fa73621d8
1 changed files with 2 additions and 2 deletions
|
@ -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 <ol> 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")
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue