mirror of
https://github.com/parchlinuxB/Gitee.git
synced 2025-02-22 09:55:43 -05:00
[fix] engine google_video: google changed the layout of the HTML response
Closes: https://github.com/searxng/searxng/issues/4127 Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
This commit is contained in:
parent
19ee529b78
commit
26097f444b
1 changed files with 2 additions and 2 deletions
|
@ -115,9 +115,9 @@ def response(resp):
|
|||
title = extract_text(eval_xpath_getindex(result, './/a/h3[1]', 0))
|
||||
url = eval_xpath_getindex(result, './/a/h3[1]/../@href', 0)
|
||||
|
||||
c_node = eval_xpath_getindex(result, './/div[@class="ITZIwc"]', 0)
|
||||
c_node = eval_xpath_getindex(result, './/div[contains(@class, "ITZIwc")]', 0)
|
||||
content = extract_text(c_node)
|
||||
pub_info = extract_text(eval_xpath(result, './/div[@class="gqF9jc"]'))
|
||||
pub_info = extract_text(eval_xpath(result, './/div[contains(@class, "gqF9jc")]'))
|
||||
|
||||
results.append(
|
||||
{
|
||||
|
|
Loading…
Add table
Reference in a new issue