Compare commits

..

2 Commits

Author SHA1 Message Date
dependabot[bot] 0cba32c15f [upd] pypi: Bump markdown-it-py from 4.0.0 to 4.2.0 in the minor group (#6054)
Bumps the minor group with 1 update: [markdown-it-py](https://github.com/executablebooks/markdown-it-py).


Updates `markdown-it-py` from 4.0.0 to 4.2.0
- [Release notes](https://github.com/executablebooks/markdown-it-py/releases)
- [Changelog](https://github.com/executablebooks/markdown-it-py/blob/master/CHANGELOG.md)
- [Commits](https://github.com/executablebooks/markdown-it-py/compare/v4.0.0...v4.2.0)

---
updated-dependencies:
- dependency-name: markdown-it-py
  dependency-version: 4.2.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: minor
2026-05-09 08:43:28 +02:00
Tommaso Colella 849e17e431 [fix] 360search: improve empty results set management and increase engine timeout (#6058) 2026-05-09 08:35:21 +02:00
3 changed files with 6 additions and 2 deletions
+1 -1
View File
@@ -11,7 +11,7 @@ httpx[http2]==0.28.1
httpx-socks[asyncio]==0.10.0 httpx-socks[asyncio]==0.10.0
sniffio==1.3.1 sniffio==1.3.1
valkey==6.1.1 valkey==6.1.1
markdown-it-py==4.0.0 markdown-it-py==4.2.0
msgspec==0.21.1 msgspec==0.21.1
typer==0.25.1 typer==0.25.1
isodate==0.7.2 isodate==0.7.2
+4
View File
@@ -84,6 +84,10 @@ def request(query, params):
def response(resp): def response(resp):
# sometimes 360search returns empty response when called from non-chinese ips
if not resp.text or not resp.text.strip():
return []
dom = html.fromstring(resp.text) dom = html.fromstring(resp.text)
results = [] results = []
+1 -1
View File
@@ -302,7 +302,7 @@ engines:
- name: 360search - name: 360search
engine: 360search engine: 360search
shortcut: 360so shortcut: 360so
timeout: 10.0 timeout: 20.0
disabled: true disabled: true
- name: 360search videos - name: 360search videos