fix dying on exception

This commit is contained in:
Christoph J. Scherr 2023-05-30 18:18:33 +02:00
parent e564898be6
commit bebb238655
Signed by: PlexSheep
GPG Key ID: 25B4ACF7D88186CC
1 changed files with 5 additions and 5 deletions

View File

@ -30,8 +30,8 @@ def read_known() -> list:
def daemon():
try:
while True:
try:
r = requests.get(CONFIG['URL'])
soup = BeautifulSoup(r.content, features='xml')
articles = soup.findAll('item')