You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[yes ] I tried using a proxy (the site may block ip for a while)
Describe the bug
Firstly, I understand that the 's' parameter (used for pagination with 'start') cannot be passed directly, and only the 'max_results' parameter can be passed. In the method, slist.extend(range(23, max_results, 50)) is used to control the 's' parameter. I haven't encountered any issues before, although I'm not sure why it was set to 23.
However, recently, I noticed an incorrect search result. Here is my query: DDGS().text("site:www.midge.co.jp", safesearch="off", backend="html", max_results=50)
But it only returns 4 results, whereas DuckDuckGo's website returns more than 10 results.
I tried modifying the method in the class, changing the 's' parameter to 5, and was able to retrieve more results afterward.
The text was updated successfully, but these errors were encountered:
Before you open an issue:
ddgs version
. Update:pip install -U duckduckgo_search
)pip install -I duckduckgo_search
)Describe the bug
Firstly, I understand that the 's' parameter (used for pagination with 'start') cannot be passed directly, and only the 'max_results' parameter can be passed. In the method, slist.extend(range(23, max_results, 50)) is used to control the 's' parameter. I haven't encountered any issues before, although I'm not sure why it was set to 23.
However, recently, I noticed an incorrect search result. Here is my query: DDGS().text("site:www.midge.co.jp", safesearch="off", backend="html", max_results=50)
But it only returns 4 results, whereas DuckDuckGo's website returns more than 10 results.
I tried modifying the method in the class, changing the 's' parameter to 5, and was able to retrieve more results afterward.
The text was updated successfully, but these errors were encountered: