mirror of
https://github.com/ail-project/ail-framework.git
synced 2025-01-18 16:36:13 +00:00
fix: [title beautifullsoup] sigalrm
This commit is contained in:
parent
868da3c6bc
commit
38d1d01d8a
1 changed files with 1 additions and 1 deletions
|
@ -332,7 +332,7 @@ def extract_title_from_html(html):
|
||||||
if title:
|
if title:
|
||||||
return str(title)
|
return str(title)
|
||||||
except TimeoutException:
|
except TimeoutException:
|
||||||
pass
|
signal.alarm(0)
|
||||||
else:
|
else:
|
||||||
signal.alarm(0)
|
signal.alarm(0)
|
||||||
return ''
|
return ''
|
||||||
|
|
Loading…
Add table
Reference in a new issue