Google-Search-API icon indicating copy to clipboard operation
Google-Search-API copied to clipboard

Searching by site and date range?

Open chrisspen opened this issue 7 years ago • 3 comments

Is it possible to search via Google's built-in filters, like "site:" or date range (shown under Tools->Any Time->Custom range...", which populates cd_min and cd_max URL parameters)?

chrisspen avatar May 18 '17 16:05 chrisspen

See issue #56 and pull request #57. The time filtering thing was solved, but if you're still interested you could add some filtering by site (it's pretty straightforward given that it's almost the same as the time filter)

JuaniFilardo avatar Jun 23 '18 11:06 JuaniFilardo

I needed custom range for a project. I solved this issue and modified the parameters for time_period. How can I share it? I'm quite inexperienced with github...

mariochr avatar Oct 06 '18 18:10 mariochr

That's great! To contribute you should create a fork and a pull request. One possible way to do this is explained here: https://help.github.com/articles/creating-a-pull-request-from-a-fork/

Hope it helps! Ask if you have any doubts

JuaniFilardo avatar Oct 08 '18 13:10 JuaniFilardo