Notice: Duckduckgo Javascript modules are in beta. Read the docs to learn more.
from ddginternal import search
search("chocolate")
# Result(web=[...23], images=[...20], news=[...5], abstract=Abstract(...))
The numbers indicate the amount of results received.
Key features:
- Private. Can your Google do that?
- Light. One dependency explains it all.
- Rust-backed. Faster parsing.
(c) 2024 AWeirdDev