Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Baidu Search API] IM Parameter - Time Filter Not Working #9

Closed
aliayar opened this issue Feb 28, 2022 · 0 comments
Closed

[Baidu Search API] IM Parameter - Time Filter Not Working #9

aliayar opened this issue Feb 28, 2022 · 0 comments
Assignees
Labels
status: queued Ready to work on

Comments

@aliayar
Copy link

aliayar commented Feb 28, 2022

One of our users reached out to report that IM parameter of Baidu search is currently not working.

The Playground:

https://serpapi.com/playground?engine=baidu&q=Coffee&lm=7

The Working Version:

https://www.baidu.com/s?ie=utf-8&f=8&rsv_bp=1&tn=baidu&wd=Coffee&lm=7&oq=Coffee&rsv_pq=c588bc6a00062f27&rsv_t=ad109P4046JsUeJFRnpaK4maauYaWCViFuox3SL6l2F%2B00U0BEuF5R5xZUw&rqlang=cn&rsv_enter=1&rsv_dl=tb&gpc=stf%3D1645438795%2C1646043595%7Cstftype%3D1&tfflag=1

Guidance from our user:

I got that url by...

  • going to the url generated by your playground as you had set it up

  • clicking on the filter tools (look for the little filter icon on the right under the search bar)

  • the tools are dropdown menus and are revealed just as in google when you click on 'tools'

  • the left-most dropdown is the one that controls the time.

  • I set that to 'within 7 days', which is '一周内', the second option

  • that successfully limited the results to the time specified and the first results page had the url above when I did this

By experimenting I found that the arguments that vary as I change the time limit are 'rsv_t' and 'gpc', but obviously the value of these parameters is encoded somehow.

next as we have received a couple of requests about this.

@aliayar aliayar added the status: queued Ready to work on label Feb 28, 2022
@hartator hartator changed the title Baidu Search IM Parameter - Time Filter Not Working [Baidu Search API] IM Parameter - Time Filter Not Working Mar 2, 2022
@kagermanov27 kagermanov27 self-assigned this Jun 23, 2022
@kagermanov27 kagermanov27 added the status: wip Work in progress label Jun 23, 2022
@dimitryzub dimitryzub removed the status: wip Work in progress label Nov 3, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
status: queued Ready to work on
Projects
None yet
Development

No branches or pull requests

3 participants