jarun / ddgr

:duck: DuckDuckGo from the terminal
GNU General Public License v3.0
2.92k stars 139 forks source link

[ERROR] HTTP Error 202: Accepted #159

Closed pj-connect closed 8 months ago

pj-connect commented 8 months ago

ddgr --np linux bash cheatsheet

[ERROR] HTTP Error 202: Accepted No results.

This result seems to be random. Other times, I get some results from ddg

rwinner commented 8 months ago

This has been fixed in newest version.

Lee 😎

On Thu, Dec 14, 2023, 6:03 AM pj-connect @.***> wrote:

ddgr --np linux bash cheatsheet

[ERROR] HTTP Error 202: Accepted No results.

This result seems to be random. Other times, I get some results from ddg

— Reply to this email directly, view it on GitHub https://github.com/jarun/ddgr/issues/159, or unsubscribe https://github.com/notifications/unsubscribe-auth/AWVOZCZ6O5YPIZ3EYWYLMNTYJMBMHAVCNFSM6AAAAABAU4YC3SVHI2DSMVQWIX3LMV43ASLTON2WKOZSGA2DCNZWHEZDAOA . You are receiving this because you are subscribed to this thread.Message ID: @.***>

pj-connect commented 8 months ago

I have version 2.1, so, sems to be the latest !

xanderlewis commented 8 months ago

I've just installed 2.1 too, and have got exactly the same error.

rwinner commented 8 months ago

On Thu, Dec 14, 2023 at 12:00:19PM -0800, pj-connect wrote:

I have version 2.1, so, sems to be the latest !

--

Working here.

-- Lee

nixfreak commented 8 months ago

I have the same issues here too

Version 2.1
Copyright © 2016-2022 Arun Prakash Jana <engineerarun@gmail.com>
License: GPLv3
Webpage: https://github.com/jarun/ddgr```

ddgr "open soure task manager" ─╯ [ERROR] HTTP Error 202: Accepted No results.

auntchilada commented 8 months ago

me too

$ ddgr -v

2.1

$ ddgr xanadu

[ERROR] HTTP Error 202: Accepted No results.

rwinner commented 8 months ago

On Fri, Dec 15, 2023 at 11:55:07AM -0800, bruno kirby wrote:

me too

$ ddgr -v

2.1

$ ddgr xanadu

[ERROR] HTTP Error 202: Accepted No results.

I'm not sure the ver no. has been updated. Just dl the latest version which includes the fix.

-- Lee

chrisgrieser commented 8 months ago

I also got that error. I am also on 2.1.

I'm not sure the ver no. has been updated. Just dl the latest version which includes the fix.

Don't think there is a version issue, since the 2.1 release was October 2022?


edit: huh, it appears adding --noua (disabling user agent) seems to fix the issue. Looks like DDG maybe blocked the default user agent used by ddgr?

Pasted image 2023-12-19 at 13 24 27@2x

jarun commented 8 months ago

Duplicate of #158.

jarun commented 8 months ago

Fixed in ddgr 2.2.