Skip to content

Fix '**kwargs' bug that prevented passing 'max_results' argument to the 'build_payload' function & Allow searching multiple pages if one page is not enough#470

Open
Miss-Tired-Ghost wants to merge 5 commits into
deedy5:mainfrom
Miss-Tired-Ghost:main

Conversation

@Miss-Tired-Ghost

Copy link
Copy Markdown

Fix '**kwargs' bug that prevented passing 'max_results' argument to the 'build_payload' function
Allow searching multiple pages if one page is not enough

Warnings:
The '**kwargs' bug appears to affect more than just 'max_results'. This is a bandaid fix and does not address the root problem.
The multi-page search uses a while loop which has the potential to cause indefinite freezing if searches fail continuously
Due to the calling of the engines multiple times, the chance of encountering the 'DDGSException(err or "No results found.")' error

…he 'build_payload' function

Allow searching multiple pages if one page is not enough

Warnings:
The '**kwargs' bug appears to affect more than just 'max_results'. This is a bandaid fix and does not address the root problem.
The multi-page search uses a while loop which has the potential to cause indefinite freezing if searches fail continuously
Due to the calling of the engines multiple times, the chance of encountering the 'DDGSException(err or "No results found.")' error
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant