mirror of https://github.com/searxng/searxng
[fix] FutureWarning from lxml
Just in case if content is None, the original code will skip extract_text(), and just append the None value to 'content'. So just add allow_none=True, and this will return None without raising a ValueError in extract_text().pull/1096/head
parent
6ff48859e3
commit
8c7e6cc983
Loading…
Reference in New Issue