<feed xmlns='http://www.w3.org/2005/Atom'>
<title>searxng/searx/engines/google_videos.py, branch master</title>
<subtitle>Free internet metasearch engine which aggregates results from various search services and databases</subtitle>
<id>https://git.ikboikov.net/searxng/atom?h=master</id>
<link rel='self' href='https://git.ikboikov.net/searxng/atom?h=master'/>
<link rel='alternate' type='text/html' href='https://git.ikboikov.net/searxng/'/>
<updated>2026-09-03T15:28:29Z</updated>
<entry>
<title>[mod] engines: migrate video engines away from get_embedded_stream_url</title>
<updated>2026-09-03T15:28:29Z</updated>
<author>
<name>Bnyro</name>
<email>bnyro@tutanota.com</email>
</author>
<published>2026-07-29T15:56:20Z</published>
<link rel='alternate' type='text/html' href='https://git.ikboikov.net/searxng/commit/?id=a1144dda3e97668c9d445022b7019c224cd4bb1e'/>
<id>urn:sha1:a1144dda3e97668c9d445022b7019c224cd4bb1e</id>
<content type='text'>
</content>
</entry>
<entry>
<title>[fix] google: use Nokia UA (#6546)</title>
<updated>2026-08-22T03:00:06Z</updated>
<author>
<name>vojkovic</name>
<email>git@vojk.au</email>
</author>
<published>2026-08-20T14:39:00Z</published>
<link rel='alternate' type='text/html' href='https://git.ikboikov.net/searxng/commit/?id=a4cb7df053ea1ebb657ba0d83ecc6b7623b0ff04'/>
<id>urn:sha1:a4cb7df053ea1ebb657ba0d83ecc6b7623b0ff04</id>
<content type='text'>
</content>
</entry>
<entry>
<title>[fix] google engine: Result image thumbnails</title>
<updated>2026-03-16T22:35:33Z</updated>
<author>
<name>Aadniz</name>
<email>8147434+Aadniz@users.noreply.github.com</email>
</author>
<published>2026-03-15T18:16:03Z</published>
<link rel='alternate' type='text/html' href='https://git.ikboikov.net/searxng/commit/?id=4c4ed4b198a7877e92589bd774f94a570fda9aa7'/>
<id>urn:sha1:4c4ed4b198a7877e92589bd774f94a570fda9aa7</id>
<content type='text'>
</content>
</entry>
<entry>
<title>[fix] google engines: update XPaths for modern mobile UI (#5836)</title>
<updated>2026-03-10T08:05:54Z</updated>
<author>
<name>SeriousConcept1134</name>
<email>132124125+SeriousConcept1134@users.noreply.github.com</email>
</author>
<published>2026-03-10T08:05:54Z</published>
<link rel='alternate' type='text/html' href='https://git.ikboikov.net/searxng/commit/?id=8b95b2058be41580270f1dc348847c3342ee129b'/>
<id>urn:sha1:8b95b2058be41580270f1dc348847c3342ee129b</id>
<content type='text'>
Google recently changed the DOM structure for mobile-centric responses, causing the `google_videos` engine to return zero results and the main `google` engine to drop the majority of its results (due to missing snippets or failed URL parsing). These changes restore the functionality and improve the result count for both engines.

This patch updates the parsing logic for both the `google` and `google_videos` engines to handle the modern HTML structure returned by Google when using GSA (Google Search App) User-Agents.

**Specific changes include:**

* **Google Videos (`gov`)**:
    * Updated title XPath to support `role="heading"`.
    * Improved URL extraction to correctly decode Google redirectors (`/url?q=...`) using `unquote`.
    * Added support for the `WRu9Cd` class to capture publication metadata (author/date).
    * Broadened thumbnail search and added a fallback to YouTube's `hqdefault.jpg`.

* **Google Web**:
    * Relaxed the strict snippet (`content`) requirement. Valid results are no longer discarded if a snippet is missing in the mobile UI.
    * Hardened URL extraction to handle both direct and redirected URLs safely.
    * Improved thumbnail extraction by searching the entire result block.</content>
</entry>
<entry>
<title>[mod] drop: from __future__ import annotations</title>
<updated>2025-09-03T11:37:36Z</updated>
<author>
<name>Markus Heiser</name>
<email>markus.heiser@darmarit.de</email>
</author>
<published>2025-08-24T13:16:46Z</published>
<link rel='alternate' type='text/html' href='https://git.ikboikov.net/searxng/commit/?id=f24d85bc4be732b8edb2157ef4ecf35d380d2b45'/>
<id>urn:sha1:f24d85bc4be732b8edb2157ef4ecf35d380d2b45</id>
<content type='text'>
Signed-off-by: Markus Heiser &lt;markus.heiser@darmarit.de&gt;
</content>
</entry>
<entry>
<title>[mod] addition of various type hints / tbc</title>
<updated>2025-09-03T11:37:36Z</updated>
<author>
<name>Markus Heiser</name>
<email>markus.heiser@darmarit.de</email>
</author>
<published>2025-08-22T15:17:51Z</published>
<link rel='alternate' type='text/html' href='https://git.ikboikov.net/searxng/commit/?id=57b9673efb1b4fd18a3ac15e26da642201e2cd33'/>
<id>urn:sha1:57b9673efb1b4fd18a3ac15e26da642201e2cd33</id>
<content type='text'>
- pyright configuration [1]_
- stub files: types-lxml [2]_
- addition of various type hints
- enable use of new type system features on older Python versions [3]_
- ``.tool-versions`` - set python to lowest version we support (3.10.18) [4]_:
  Older versions typically lack some typing features found in newer Python
  versions.  Therefore, for local type checking (before commit), it is necessary
  to use the older Python interpreter.

.. [1] https://docs.basedpyright.com/v1.20.0/configuration/config-files/
.. [2] https://pypi.org/project/types-lxml/
.. [3] https://typing-extensions.readthedocs.io/en/latest/#
.. [4] https://mise.jdx.dev/configuration.html#tool-versions

Signed-off-by: Markus Heiser &lt;markus.heiser@darmarit.de&gt;
Format: reST
</content>
</entry>
<entry>
<title>[fix] google video: refactor broken engine to work again</title>
<updated>2025-07-25T19:40:53Z</updated>
<author>
<name>SeriousConcept1134</name>
<email>132124125+SeriousConcept1134@users.noreply.github.com</email>
</author>
<published>2025-07-23T20:33:07Z</published>
<link rel='alternate' type='text/html' href='https://git.ikboikov.net/searxng/commit/?id=02cbdf468b316d9c9609d35ec2a9d0916c6def4c'/>
<id>urn:sha1:02cbdf468b316d9c9609d35ec2a9d0916c6def4c</id>
<content type='text'>
The current google_videos.py in the master branch is completely non functional, due to it not parsing the returned video search results correctly. The result is searxng saying that no results were found. This commit is a new updated google_videos.py that's designed to fix that and is confirmed to be working.

Implementing the suggestions by Bnyro.

Re-formatted with `black` for compatibility. After failing automated checks, ran the command:
black --line-length 120 --skip-string-normalization --target-version py311 google_videos.py
</content>
</entry>
<entry>
<title>[doc] add missing docs for the search.max_page setting</title>
<updated>2025-03-07T09:07:41Z</updated>
<author>
<name>Markus Heiser</name>
<email>markus.heiser@darmarit.de</email>
</author>
<published>2025-03-06T15:47:40Z</published>
<link rel='alternate' type='text/html' href='https://git.ikboikov.net/searxng/commit/?id=08a90d46d6f23607ddecf2a2d9fa216df69d2fac'/>
<id>urn:sha1:08a90d46d6f23607ddecf2a2d9fa216df69d2fac</id>
<content type='text'>
Signed-off-by: Markus Heiser &lt;markus.heiser@darmarit.de&gt;
</content>
</entry>
<entry>
<title>[fix] engines: Google-Web &amp; Google-Video (random arc_id)</title>
<updated>2025-03-06T14:43:53Z</updated>
<author>
<name>Markus Heiser</name>
<email>markus.heiser@darmarit.de</email>
</author>
<published>2025-03-06T09:14:10Z</published>
<link rel='alternate' type='text/html' href='https://git.ikboikov.net/searxng/commit/?id=194f22220306b7949660492bdbc3e5418835f88f'/>
<id>urn:sha1:194f22220306b7949660492bdbc3e5418835f88f</id>
<content type='text'>
Both enghines have been reported ``TooManyRequests``, additionaly Google-Videos
thumbnails needed a review.

Based on the research from @unixfox [1] this patch generates every hour a new random
``arc_id``.

[1] https://github.com/searxng/searxng/issues/4435#issuecomment-2703279522

Closes:

- https://github.com/searxng/searxng/issues/4435
- https://github.com/searxng/searxng/issues/4431

Related:

- https://github.com/searxng/searxng/discussions/4434
- https://github.com/searxng/searxng/discussions/4429

Signed-off-by: Markus Heiser &lt;markus.heiser@darmarit.de&gt;
</content>
</entry>
<entry>
<title>[fix] engine google_video: google changed the layout of the HTML response</title>
<updated>2024-12-22T10:45:46Z</updated>
<author>
<name>Markus Heiser</name>
<email>markus.heiser@darmarit.de</email>
</author>
<published>2024-12-22T08:54:02Z</published>
<link rel='alternate' type='text/html' href='https://git.ikboikov.net/searxng/commit/?id=26097f444b536e07f4790597134ab20df5639df3'/>
<id>urn:sha1:26097f444b536e07f4790597134ab20df5639df3</id>
<content type='text'>
Closes: https://github.com/searxng/searxng/issues/4127
Signed-off-by: Markus Heiser &lt;markus.heiser@darmarit.de&gt;
</content>
</entry>
</feed>
