feat: add time_range parameter to searchscraper#15
Merged
VinciGit00 merged 4 commits intomainfrom Jan 28, 2026
Merged
Conversation
Vikrant-Khedkar
requested changes
Jan 12, 2026
Collaborator
Vikrant-Khedkar
left a comment
There was a problem hiding this comment.
only need to remove steps param from markdownify , rest looks good
src/scrapegraph_mcp/server.py
Outdated
| self, | ||
| website_url: str, | ||
| headers: Optional[Dict[str, str]] = None, | ||
| steps: Optional[List[str]] = None, |
Collaborator
There was a problem hiding this comment.
we should remove steps , as we dont have steps param for markdownify
src/scrapegraph_mcp/server.py
Outdated
| website_url: str, | ||
| ctx: Context, | ||
| headers: Optional[Dict[str, str]] = None, | ||
| steps: Optional[List[str]] = None, |
Collaborator
There was a problem hiding this comment.
we should remove steps , as we dont have steps param for markdownify
Add support for filtering search results by time range in the searchscraper tool. This aligns with the API changes in sgai-api#386. The time_range parameter accepts: past_hour, past_24_hours, past_week, past_month, or past_year to filter search results by recency. Co-Authored-By: Claude Opus 4.5 <[email protected]>
- Add time_range parameter to searchscraper documentation - Document supported values: past_hour, past_24_hours, past_week, past_month, past_year - Update MCP tools reference table - Add example usage with time_range - Update changelog to reflect SDK changes (scrapegraph-py#77, scrapegraph-js#2) Co-Authored-By: Claude Opus 4.5 <[email protected]>
Addresses PR review feedback to remove the steps parameter from the markdownify function as it's not needed for this endpoint. Co-Authored-By: Claude Opus 4.5 <[email protected]>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
time_rangeparameter to thesearchscrapertool and client methodpast_hour,past_24_hours,past_week,past_month,past_yearDocumentation Changes
README.md- Added time_range parameter to searchscraper docs.agent/README.md- Updated MCP tools reference table.agent/system/project_architecture.md- Updated searchscraper tool documentation with time_range parameterTest plan
🤖 Generated with Claude Code