fix: [title beautifullsoup] sigalrm

master
terrtia 2025-01-07 17:43:49 +01:00
parent 868da3c6bc
commit 38d1d01d8a
No known key found for this signature in database
GPG Key ID: 1E1B1F50D84613D0
1 changed files with 1 additions and 1 deletions

View File

@ -332,7 +332,7 @@ def extract_title_from_html(html):
if title:
return str(title)
except TimeoutException:
pass
signal.alarm(0)
else:
signal.alarm(0)
return ''