Conversation
|
Are there any parameters to tbs that don't start with |
Here are some common tbs filter options: qdr: Time filter (e.g., h for hour, d for day, w for week, m for month, y for year) |
|
Interesting! Can you add these to the README? |
Nv7-GitHub
left a comment
There was a problem hiding this comment.
Thank you for the PR! I've added this review so that I can keep track of pull requests that are ready to be merged.
| ``` | ||
|
|
||
| ### Time-Based Search (tbs) Parameter | ||
| You can also refine search results based on time. The tbs parameter allows you to filter results by various time ranges. For instance, to get results from the past hour, use `qdr:h`, or for results from the past year, use `qdr:y`. Here's how you can use the tbs parameter: |
There was a problem hiding this comment.
Could you add information about non-qdr options?
|
Hi everyone, I've noticed that some filters modify the HTML structure in ways that might break the scraping process. From what I understand (though I might be mistaken), it seems that only the time filter (qdr) and the language filter (sur) keep the search functionality working as expected. Thanks a lot. |
|
@Nv7-GitHub @zhuangAnjun is this going to be merged any time soon? It is a very helpful param to have access to. |
Time-Based Search (tbs) Parameter
You can also refine search results based on time. The tbs parameter allows you to filter results by various time ranges. For instance, to get results from the past hour, use qdr:h, or for results from the past year, use qdr:y. Here's how you can use the tbs parameter: