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

feat(scraper): support incremental updates #104

Merged
merged 6 commits into from
Dec 17, 2024

Conversation

idiotWu
Copy link
Collaborator

@idiotWu idiotWu commented Dec 16, 2024

This PR supports incremental scraping via the skip_item_hashes parameter.

The scraper now returns the hash of each item's original markdown content. Use the skip_item_hashes parameter to skip summarizing the same items and, therefore, implement incremental updates.

Copy link

vercel bot commented Dec 16, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
npi-docs ✅ Ready (Inspect) Visit Preview 💬 Add feedback Dec 17, 2024 2:23am

@idiotWu idiotWu merged commit a6889ba into main Dec 17, 2024
5 checks passed
@idiotWu idiotWu deleted the feat-scraper-incremental-updates branch December 17, 2024 03:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant