duck-duck-scrape icon indicating copy to clipboard operation
duck-duck-scrape copied to clipboard

Uncaught Error Error: Failed to get the VQD for query "node.js".

Open jmgaooo opened this issue 1 year ago • 7 comments

The response.body of getVQD() method is empty, resulting in an exception thrown by exports.VQD_REGEX.exec(response.body)[1]: Uncaught TypeError TypeError: Cannot read properties of null (reading '1'). How can this issue be resolved?

jmgaooo avatar Jun 27 '23 03:06 jmgaooo

Same issue. I can't seem to be able to search for anything at all.

miloslavnosek avatar Dec 23 '23 13:12 miloslavnosek

This issue still exist. I have to choose another search-api.

IvoRacious avatar Jun 03 '24 08:06 IvoRacious

Likewise, Same issue, Any insight would be appreciated :)

MsVoxxie avatar Jun 04 '24 03:06 MsVoxxie

I couldn't reproduce the issue, it still works fine. if it doesn't work for some people, probably try providing the response whenever you request https://duckduckgo.com/?q=node.js&ia=web.

Snazzah avatar Jun 04 '24 20:06 Snazzah

Suprisingly, I find that npm:[email protected] works well and steadily if you are using javascript. Before that I've tried "@langchain/community/tools/duckduckgo_search", npm:duck-duck-scrapeandnpm:[email protected], which all failed.

IvoRacious avatar Jun 05 '24 13:06 IvoRacious

I couldn't reproduce the issue, it still works fine. if it doesn't work for some people, probably try providing the response whenever you request https://duckduckgo.com/?q=node.js&ia=web.

Same issue with me, should I provide you a screenshot of the request you sent?

ductridev avatar Jun 26 '24 12:06 ductridev

@Snazzah I just wonder if the news is responsed empty by DDG cause the error? image image

ductridev avatar Jun 26 '24 12:06 ductridev