WebProbe (Python port of open-webSearch)
This project replicates the core search and fetch capabilities of Aas-ee/open-webSearch using Python. It exposes a CLI that can:
- Search multiple engines (Bing, DuckDuckGo, Baidu, Brave, Exa, Startpage, CSDN, Juejin, Linux.do)
- Fetch full-length articles from CSDN, Linux.do, and Juejin
- Download GitHub
README.*files without hitting the API
Installation
python -m pip install --upgrade pip
pip install -e .
Package usage
Install the project locally and consume the webprobe package directly:
from webprobe import WebProbeServer, search, fetch_csdn
print(search("visible web", limit=5))
print(fetch_csdn("https://blog.csdn.net/example/article/details/xxxxx"))
# Start the bundled HTTP server (serves /search and /fetch?kind=csdn)
server = WebProbeServer(host="0.0.0.0", port=3210)
try:
server.serve_forever()
finally:
server.shutdown()
The HTTP server exposes /search?query=...&limit=...&engines=... and /fetch?kind=<csdn|linuxdo|juejin|github>&url=....
CLI
Run python main.py --help to see available commands. Key subcommands:
search
python main.py search "open websearch" --limit 12 --engines bing,duckduckgo
Article fetchers
Each fetcher prints JSON or plain text:
python main.py fetch-csdn <url>python main.py fetch-linuxdo <url>python main.py fetch-juejin <url>python main.py fetch-github <repo-url>
Configuration
Environment variables mirror the TypeScript version:
| Variable | Default | Description |
|---|---|---|
DEFAULT_SEARCH_ENGINE |
bing |
Default search engine |
ALLOWED_SEARCH_ENGINES |
(empty) | Comma-separated whitelist |
USE_PROXY / PROXY_URL |
false / http://127.0.0.1:7890 |
HTTP proxy for requests |
Set USE_PROXY=true to route all HTTP traffic through PROXY_URL.
Architecture
src/engine/search_service.pyorchestrates multi-engine searches with distribution logic.src/engines/*implement individual search/fetch adapters for each provider.src/utils/contains HTTP helpers, Playwright bridges for future browser fallbacks, and shared fetch logic for CSDN articles.
Metadata
Release files for mcpwebprobe 0.1.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| mcpwebprobe-0.1.2-py3-none-any.whl | Python 3 | none | any | Details for mcpwebprobe-0.1.2-py3-none-any.whl |
Release files / mcpwebprobe-0.1.2-py3-none-any.whl
| Download URL | mcpwebprobe-0.1.2-py3-none-any.whl |
|---|---|
| Size | 46.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
8cf128dae255b0b63dd85c72dac682b6f65b019d03496b9ccde0077640d859c4
|
|
BLAKE2b-256 checksum How to use checksums |
96843f32e981049f9081efc8d8bf1977ffc10a3fcaa9dc313f0d688c523c79e0
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.14.0
|
Security for mcpwebprobe 0.1.2
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.