mirror of
https://github.com/searxng/searxng
synced 2024-01-01 19:24:07 +01:00
[fix] brave engine: This site did not provide any description
This commit is contained in:
parent
b5a8ddfec8
commit
f8adabb22b
1 changed files with 4 additions and 1 deletions
|
@ -248,7 +248,10 @@ def _parse_search(resp):
|
|||
if url is None or title_tag is None or not urlparse(url).netloc: # partial url likely means it's an ad
|
||||
continue
|
||||
|
||||
content_tag = eval_xpath_getindex(result, './/div[@class="snippet-description"]', 0, default='')
|
||||
content_tag = eval_xpath_getindex(
|
||||
result, './/div[@class="snippet-description text-small-regular"]', 0, default=''
|
||||
)
|
||||
|
||||
img_src = eval_xpath_getindex(result, './/img[contains(@class, "thumb")]/@src', 0, default='')
|
||||
|
||||
item = {
|
||||
|
|
Loading…
Add table
Reference in a new issue