0
0
mirror of https://github.com/neon-mmd/websurfx.git synced 2024-11-24 15:08:22 -05:00

Merge pull request #438 from neon-mmd/CHORE/432_duckduckgo-engine-code-according-to-the-new-html-changes

👽️  `Duckduckgo` engine code according to the new `html` changes
This commit is contained in:
alamin655 2023-12-13 18:59:08 +05:30 committed by GitHub
commit bb06797dec
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 4 additions and 4 deletions

2
Cargo.lock generated
View File

@ -4066,7 +4066,7 @@ checksum = "1778a42e8b3b90bff8d0f5032bf22250792889a5cdc752aa0020c84abe3aaf10"
[[package]] [[package]]
name = "websurfx" name = "websurfx"
version = "1.6.0" version = "1.6.1"
dependencies = [ dependencies = [
"actix-cors", "actix-cors",
"actix-files", "actix-files",

View File

@ -1,6 +1,6 @@
[package] [package]
name = "websurfx" name = "websurfx"
version = "1.6.0" version = "1.6.1"
edition = "2021" edition = "2021"
description = "An open-source alternative to Searx that provides clean, ad-free, and organic results with incredible speed while keeping privacy and security in mind." description = "An open-source alternative to Searx that provides clean, ad-free, and organic results with incredible speed while keeping privacy and security in mind."
repository = "https://github.com/neon-mmd/websurfx" repository = "https://github.com/neon-mmd/websurfx"

View File

@ -29,8 +29,8 @@ impl DuckDuckGo {
Ok(Self { Ok(Self {
parser: SearchResultParser::new( parser: SearchResultParser::new(
".no-results", ".no-results",
".result", ".results>.result",
".result__a", ".result__title>.result__a",
".result__url", ".result__url",
".result__snippet", ".result__snippet",
)?, )?,