Skip to content

Releases: A3S-Lab/Search

v0.5.0 - Re-add Baidu & Bing China

09 Feb 10:24

Choose a tag to compare

What's New

Baidu & Bing China Re-added

  • Baidu (百度): Re-added behind headless feature using PageFetcher pattern
  • Bing China (必应中国): Re-added behind headless feature using PageFetcher pattern
  • Both engines use the shared BrowserPool for efficient Chrome process management

Engine Count: 8 Total

  • 5 default engines: DuckDuckGo, Brave, Wikipedia, Sogou, 360 Search
  • 3 headless engines: Google, Baidu, Bing China (require --headless flag + Chrome)

Quality

  • 222 unit tests (198 library + 24 CLI), 94.36% line coverage
  • Clippy clean, zero warnings

Usage

# Search with Baidu and Bing China
a3s-search "Rust 编程" -e baidu,bing_cn --headless

# All headless engines
a3s-search "Rust" -e g,baidu,bing_cn --headless

v0.4.0 - Headless Browser Support

09 Feb 10:08

Choose a tag to compare

What's New

Headless Browser Support

  • PageFetcher trait: Pluggable page fetching abstraction (plain HTTP or headless browser)
  • HttpFetcher: reqwest-based PageFetcher for server-rendered pages
  • BrowserPool: Shared Chrome process with tab concurrency control (semaphore-based)
  • BrowserFetcher: CDP-based PageFetcher for JavaScript-rendered pages
  • WaitStrategy: Configurable wait strategies (Load, NetworkIdle, Selector, Delay)

Google Engine Re-added

  • Google search engine re-added behind headless Cargo feature
  • Uses CSS selectors: div.g, h3, a[href], div.VwiC3b
  • Weight: 1.5 (higher trust), Timeout: 10s

CLI Updates

  • --headless flag for enabling headless browser mode
  • a3s-search engines now shows headless engines section
  • Graceful warnings when headless feature not compiled in

Quality

  • 207 unit tests (183 library + 24 CLI), 94.07% line coverage
  • Zero impact on default build (all browser code behind headless feature)
  • Clippy clean, zero warnings

Install

# Homebrew
brew tap A3S-Lab/tap && brew install a3s-search

# Cargo
cargo install a3s-search

# With headless support
cargo install a3s-search --features headless

a3s-search v0.3.0

09 Feb 08:26

Choose a tag to compare

Embeddable meta search engine library with CLI and proxy pool support

Key Features:

  • Meta search across multiple engines (DuckDuckGo, Brave, Wikipedia, Sogou, 360)
  • Proxy pool support (HTTP, HTTPS, SOCKS5)
  • CLI with text/JSON/compact output formats
  • 167 tests passing