From 38d1d01d8aca7525d76e3eccf61ba7a818df9f17 Mon Sep 17 00:00:00 2001 From: terrtia Date: Tue, 7 Jan 2025 17:43:49 +0100 Subject: [PATCH] fix: [title beautifullsoup] sigalrm --- bin/lib/crawlers.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/lib/crawlers.py b/bin/lib/crawlers.py index b5b8d132..50e7a575 100755 --- a/bin/lib/crawlers.py +++ b/bin/lib/crawlers.py @@ -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 ''