这是indexloc提供的服务,不要输入任何密码
Skip to content
Discussion options

You must be logged in to vote

Arguments like language or safesearch are not passed to the params[..] when paging or time-range is not supported by the engine.

If you are talking about this condition:

if search_query.pageno > 1 and not self.engine.paging: 
    return None

-->

If user query is not asking for the page one = page two, three, ... (1) and the engine doesn't support paging (2) then the engine won't get the query (3).

  • (1) search_query.pageno > 1
  • (2) not self.engine.paging
  • (3) return None : in the following code fragment, continue means the query is skipped for this engine:
    # set default request parameters
    request_params = processor.g…

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@return42
Comment options

return42 Jul 26, 2022
Maintainer Author

Answer selected by return42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
question Further information is requested
2 participants