Spaces:
Runtime error
Runtime error
Merge pull request #438 from neon-mmd/CHORE/432_duckduckgo-engine-code-according-to-the-new-html-changes
Browse files- Cargo.lock +1 -1
- Cargo.toml +1 -1
- src/engines/duckduckgo.rs +2 -2
Cargo.lock
CHANGED
@@ -4066,7 +4066,7 @@ checksum = "1778a42e8b3b90bff8d0f5032bf22250792889a5cdc752aa0020c84abe3aaf10"
|
|
4066 |
|
4067 |
[[package]]
|
4068 |
name = "websurfx"
|
4069 |
-
version = "1.6.
|
4070 |
dependencies = [
|
4071 |
"actix-cors",
|
4072 |
"actix-files",
|
|
|
4066 |
|
4067 |
[[package]]
|
4068 |
name = "websurfx"
|
4069 |
+
version = "1.6.1"
|
4070 |
dependencies = [
|
4071 |
"actix-cors",
|
4072 |
"actix-files",
|
Cargo.toml
CHANGED
@@ -1,6 +1,6 @@
|
|
1 |
[package]
|
2 |
name = "websurfx"
|
3 |
-
version = "1.6.
|
4 |
edition = "2021"
|
5 |
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."
|
6 |
repository = "https://github.com/neon-mmd/websurfx"
|
|
|
1 |
[package]
|
2 |
name = "websurfx"
|
3 |
+
version = "1.6.1"
|
4 |
edition = "2021"
|
5 |
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."
|
6 |
repository = "https://github.com/neon-mmd/websurfx"
|
src/engines/duckduckgo.rs
CHANGED
@@ -29,8 +29,8 @@ impl DuckDuckGo {
|
|
29 |
Ok(Self {
|
30 |
parser: SearchResultParser::new(
|
31 |
".no-results",
|
32 |
-
".result",
|
33 |
-
".result__a",
|
34 |
".result__url",
|
35 |
".result__snippet",
|
36 |
)?,
|
|
|
29 |
Ok(Self {
|
30 |
parser: SearchResultParser::new(
|
31 |
".no-results",
|
32 |
+
".results>.result",
|
33 |
+
".result__title>.result__a",
|
34 |
".result__url",
|
35 |
".result__snippet",
|
36 |
)?,
|