duckduckgo_search library
Provides support for performing DuckDuckGo searches.
This library contains functionality for interacting with the DuckDuckGo search engine, including making search queries and processing the results.
Classes
Functions
-
getVqd(
String keywords) → Future< String> - Retrieves the VQD (Vague Query Detection) value from the DuckDuckGo search engine for the given keywords.
-
normalize(
String? rawHtml) → String - Normalizes a raw HTML string by stripping HTML tags and unescaping HTML entities.
-
normalizeUrl(
String? url) → String - Normalizes a URL by decoding any encoded characters and replacing spaces with plus signs.
-
textExtractJson(
String content, String keywords) → List - Extracts a list of dynamic objects from a JSON string within a larger string.