Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bug: google videos engine #57

Open
CactusPie opened this issue Dec 21, 2024 · 1 comment
Open

Bug: google videos engine #57

CactusPie opened this issue Dec 21, 2024 · 1 comment
Labels
bug Something isn't working

Comments

@CactusPie
Copy link

CactusPie commented Dec 21, 2024

Version of SearXNG, commit number if you are using on master branch and stipulate if you forked SearXNG
Repository: https://github.com/tiekoetter/searxng
Branch: master
Version: 2024.12.1+0245e82bd (e05173b)

How did you install SearXNG?

I installed it with docker, but it can be reproduced on public instances as well, such as the top 3 instances on https://searx.space/

What happened?

Google Videos search gives a parsing error and no videos from Google Videos are shown. Videos from other search engines appear correctly. To see the error you have unfold the "Response time: X seconds" section

How To Reproduce

Search for any videos with Google Videos enabled

Expected behavior

Google Videos results should be sown

Screenshots & Logs

image

Additional context

Technical report

Error

  • Error: searx.exceptions.SearxEngineXPathException
  • Percentage: 90
  • Parameters: ('.//div[@class="ITZIwc"]', 'index 0 not found')
  • File name: searx/engines/google_videos.py:118
  • Function: response
  • Code: c_node = eval_xpath_getindex(result, './/div[@class="ITZIwc"]', 0)

Error

  • Error: 2 redirects, maximum: 0
  • Percentage: 10
  • Parameters: ('200', 'OK', 'www.google.com.hk')
  • File name: searx/search/processors/online.py:125
  • Function: _send_http_request
  • Code: count_error(
@CactusPie CactusPie added the bug Something isn't working label Dec 21, 2024
@tiekoetter
Copy link
Owner

If this is an issue on multiple instances it is likely an issue present in upstream SearXNG.

Please post this issue also in https://github.com/searxng/searxng/issues

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants