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
Hello
It seems like the selector you are currently using to scrape the Duckduckgo Result Page is not properly working in the case that the search doesn't produce any results:
[i] duckduckgo scrapes keyword ... on page 1
Problem with scraping ... in search engine duckduckgo: TimeoutError: waiting for selector ".result__body" failed: timeout 10000ms exceeded
I think the issue here is the selector you are using:
If the search produces no results, the Duckduckgo Results Page doesn't have a div with the class .result__body.
As a fix I suggest using one of the following selectors instead (I have not tested it though, but they are present in both cases):
#links
.serp__results
The text was updated successfully, but these errors were encountered:
Hello
It seems like the selector you are currently using to scrape the Duckduckgo Result Page is not properly working in the case that the search doesn't produce any results:
I think the issue here is the selector you are using:
If the search produces no results, the Duckduckgo Results Page doesn't have a div with the class
.result__body
.As a fix I suggest using one of the following selectors instead (I have not tested it though, but they are present in both cases):
The text was updated successfully, but these errors were encountered: