FIX: Citabot

This commit is contained in:
Roboron3042 2024-12-04 00:35:21 +01:00
parent cac893784d
commit 9880c2c544
2 changed files with 6 additions and 2 deletions

View File

@ -3,7 +3,7 @@ from bs4 import BeautifulSoup
from common import get_api
# Get the quote of the day
r = requests.get('https://proverbia.net/frase-del-dia')
r = requests.get('https://proverbia.net/frase-del-dia', verify=False)
content = BeautifulSoup(r.text, "html.parser").find_all('blockquote')
message = content[0].p.get_text() + "\n\n"
message += "" + content[0].a.get_text() + " " + content[0].em.get_text()

View File

@ -40,7 +40,11 @@ excluded_domains = [
'federa.social',
# Non-spanish accounts >:(
'sportsbots.xyz',
'press.coop'
'press.coop',
'fedibird.com',
# Mirrors
'respublicae.eu',
'bots.fedi.cr '
]
bot_name = 'federabot'