<feed xmlns='http://www.w3.org/2005/Atom'>
<title>searxng/searx/engines/baidu.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-02T14:30:00Z</updated>
<entry>
<title>[mod] engines: migrate to setup() from init() for simple tasks</title>
<updated>2026-09-02T14:30:00Z</updated>
<author>
<name>Om Alve</name>
<email>om@turboml.com</email>
</author>
<published>2026-08-23T12:56:13Z</published>
<link rel='alternate' type='text/html' href='https://git.ikboikov.net/searxng/commit/?id=b4f616fed70b0598a1817fb828c0cce29d0451be'/>
<id>urn:sha1:b4f616fed70b0598a1817fb828c0cce29d0451be</id>
<content type='text'>
</content>
</entry>
<entry>
<title>[refactor] engines: use datetime.fromisoformat instead of datetime.strptime where possible (#6394)</title>
<updated>2026-07-13T15:46:56Z</updated>
<author>
<name>Onev</name>
<email>163619945+OneVth@users.noreply.github.com</email>
</author>
<published>2026-07-13T15:46:56Z</published>
<link rel='alternate' type='text/html' href='https://git.ikboikov.net/searxng/commit/?id=9e25585aecd9f6ab1fdf30922da64fd91eb25425'/>
<id>urn:sha1:9e25585aecd9f6ab1fdf30922da64fd91eb25425</id>
<content type='text'>
Refactor engines that parse ISO 8601 dates with strptime to use
fromisoformat instead. In most cases this is a direct replacement of
strptime(text, "format") with fromisoformat(text).

For engines where the source has a trailing "Z" that strptime consumed
as a literal (e.g. "%Y-%m-%dT%H:%M:%S.%fZ" in huggingface.py), add
rstrip("Z") to keep the output naive and preserve the existing behavior.

In sogou.py the date is extracted with a regular expression, which can
yield strings like "2026-7-11". strptime accepts this via its format
string, but fromisoformat does not. To preserve the existing behavior
and satisfy the format fromisoformat expects, add zero-padding for the
month and day.

Closes: #6098
---------
Signed-off-by: OneVth &lt;onebrotravel@gmail.com&gt;</content>
</entry>
<entry>
<title>[fix] engine baidu: fix image search blocked by antiFlag</title>
<updated>2026-06-29T17:54:10Z</updated>
<author>
<name>Hu Butui</name>
<email>hot123tea123@gmail.com</email>
</author>
<published>2026-06-26T02:16:11Z</published>
<link rel='alternate' type='text/html' href='https://git.ikboikov.net/searxng/commit/?id=b084194c095ab6d573103527fd9c6e84ba0810de'/>
<id>urn:sha1:b084194c095ab6d573103527fd9c6e84ba0810de</id>
<content type='text'>
Baidu image search returns antiFlag=1 when the acjson API is called
without session cookies from image.baidu.com.

Warm up cookies with a GET to the image homepage, cache them for one
hour via EngineCache, and pass them to image search requests. Raise
SearxEngineAccessDeniedException when antiFlag is still returned.

Signed-off-by: Hu Butui &lt;hot123tea123@gmail.com&gt;
</content>
</entry>
<entry>
<title>[chore] complete and normalize the attributes of engine objects (#6258)</title>
<updated>2026-06-15T08:52:00Z</updated>
<author>
<name>Markus Heiser</name>
<email>markus.heiser@darmarit.de</email>
</author>
<published>2026-06-14T13:16:26Z</published>
<link rel='alternate' type='text/html' href='https://git.ikboikov.net/searxng/commit/?id=6c9dcd42420cee087ad7fe3d686dfc2b632ebbee'/>
<id>urn:sha1:6c9dcd42420cee087ad7fe3d686dfc2b632ebbee</id>
<content type='text'>
Drop outdated engine attributes: supported_languages, language_aliases

Complete, normalize and document the type definitions for the engine-module and
engine-class.

For the ``engine.about`` section of the configuration, a type check is performed
based on structure ``searx.enginelib.EngineAbout``.

The property ``engine.about.language`` no longer exists; existing values have
been migrated to ``engine.language``.

Signed-off-by: Markus Heiser &lt;markus.heiser@darmarit.de&gt;
</content>
</entry>
<entry>
<title>[fix] baidu captcha detection (#5111)</title>
<updated>2025-08-12T13:18:46Z</updated>
<author>
<name>Zhijie He</name>
<email>hezhijie0327@hotmail.com</email>
</author>
<published>2025-08-12T13:18:46Z</published>
<link rel='alternate' type='text/html' href='https://git.ikboikov.net/searxng/commit/?id=6b1516d6adc88f17e06fe115c3aff69bfcad4579'/>
<id>urn:sha1:6b1516d6adc88f17e06fe115c3aff69bfcad4579</id>
<content type='text'>
Add Baidu Captcha detection to reduce `JSONDecodeError` error

Baidu will redirect to `wappass.baidu.com` and return a captcha challenge.
Current behavior will get the data from `wappass.baidu.com` then return a
`json.decoder.JSONDecodeError` error.</content>
</entry>
<entry>
<title>[fix] baidu engine: properly decoding HTML escape codes</title>
<updated>2025-03-27T05:11:39Z</updated>
<author>
<name>Aadniz</name>
<email>8147434+Aadniz@users.noreply.github.com</email>
</author>
<published>2025-03-26T18:56:58Z</published>
<link rel='alternate' type='text/html' href='https://git.ikboikov.net/searxng/commit/?id=02f5002a5f1c5d05a5876af66870d818eb37286e'/>
<id>urn:sha1:02f5002a5f1c5d05a5876af66870d818eb37286e</id>
<content type='text'>
</content>
</entry>
<entry>
<title>fixup! [fix] fix invalid escape error in Baidu Images &amp; default config typo</title>
<updated>2025-03-15T16:14:54Z</updated>
<author>
<name>Markus Heiser</name>
<email>markus.heiser@darmarit.de</email>
</author>
<published>2025-03-15T15:28:48Z</published>
<link rel='alternate' type='text/html' href='https://git.ikboikov.net/searxng/commit/?id=a1d5add71808e8ad7c7405247d907a2d465f6459'/>
<id>urn:sha1:a1d5add71808e8ad7c7405247d907a2d465f6459</id>
<content type='text'>
</content>
</entry>
<entry>
<title>[fix] fix invalid escape error in Baidu Images &amp; default config typo</title>
<updated>2025-03-15T16:14:54Z</updated>
<author>
<name>Zhijie He</name>
<email>hezhijie0327@hotmail.com</email>
</author>
<published>2025-03-15T10:44:46Z</published>
<link rel='alternate' type='text/html' href='https://git.ikboikov.net/searxng/commit/?id=38caa4954035c74bb690b551bfbee3148ba96f29'/>
<id>urn:sha1:38caa4954035c74bb690b551bfbee3148ba96f29</id>
<content type='text'>
</content>
</entry>
<entry>
<title>[feat]: engines add images &amp; kaifa from baidu.com</title>
<updated>2025-03-15T16:14:54Z</updated>
<author>
<name>Zhijie He</name>
<email>hezhijie0327@hotmail.com</email>
</author>
<published>2025-03-06T11:28:58Z</published>
<link rel='alternate' type='text/html' href='https://git.ikboikov.net/searxng/commit/?id=4ce7f1accc322d6936b2cc332e842f283fa2bf8e'/>
<id>urn:sha1:4ce7f1accc322d6936b2cc332e842f283fa2bf8e</id>
<content type='text'>
</content>
</entry>
<entry>
<title>[fix] set language for engines from chinese market (no i18n index nor UI)</title>
<updated>2025-03-07T18:59:13Z</updated>
<author>
<name>Markus Heiser</name>
<email>markus.heiser@darmarit.de</email>
</author>
<published>2025-03-07T18:47:15Z</published>
<link rel='alternate' type='text/html' href='https://git.ikboikov.net/searxng/commit/?id=eb3633629a8e91ece7f75ab58226de2d2df1b698'/>
<id>urn:sha1:eb3633629a8e91ece7f75ab58226de2d2df1b698</id>
<content type='text'>
Signed-off-by: Markus Heiser &lt;markus.heiser@darmarit.de&gt;
</content>
</entry>
</feed>
