Skip to content

Commit 38d1d01

Browse files
committed
fix: [title beautifullsoup] sigalrm
1 parent 868da3c commit 38d1d01

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

bin/lib/crawlers.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -332,7 +332,7 @@ def extract_title_from_html(html):
332332
if title:
333333
return str(title)
334334
except TimeoutException:
335-
pass
335+
signal.alarm(0)
336336
else:
337337
signal.alarm(0)
338338
return ''

0 commit comments

Comments
 (0)