Skip to content

duckduckgo backed 403 error #480

Description

@andrei-cb

Before you open an issue:

  • I have the latest version. (Check: ddgs version. Update: pip install -U ddgs)
  • I tried reinstalling the library. (pip install -I ddgs)
  • [] I tried using a proxy

Describe the bug

I am getting a 403 error when I'm using the duckduckgo backend. bing works fine.

2026-07-25 09:15:41,520 - primp - INFO - response: https://duckduckgo.com/?q=latest+world+news 200
2026-07-25 09:15:41,580 - primp - INFO - response: https://duckduckgo.com/news.js?l=us-en&o=json&noamp=1&q=latest+world+news&vqd=4-33878306505768204447558104674878292409&p=-1&df=d 403

Steps to reproduce the problem:
return DDGS(timeout=10).news(
query="world news",
safesearch="moderate",
timelimit="d",
max_results=5,
backend="duckduckgo"
)

Specify this information

  • OS ubuntu 25.10
  • environment uv
  • ddgs version 9.14.4

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions