Update scholar to v1.0.10 to fix throttling issues#500
Merged
Conversation
Scholar v1.0.10 includes: - Fall back to stale cached data when Google Scholar throttles requests instead of returning empty results - Reduce request frequency: profile cache TTL 1d→7d, article 7d→30d - Profile refresh now only fetches the profile page (1 request) instead of re-fetching every article detail (~60 requests) - Prevent retry storms by updating timestamps on failed refreshes Closes #346 Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
There was a problem hiding this comment.
Pull request overview
This PR updates Go module dependencies for the goblog project, primarily by bumping a small set of direct/indirect module versions and regenerating the module sums accordingly.
Changes:
- Bump
github.com/compscidr/scholarfromv1.0.9tov1.0.10. - Update indirect dependency versions (notably
github.com/PuerkitoBio/goquerytov1.12.0and severalgolang.org/x/*modules). - Refresh
go.sumto reflect the updated module graph.
Reviewed changes
Copilot reviewed 1 out of 2 changed files in this pull request and generated no comments.
| File | Description |
|---|---|
| go.mod | Updates direct and indirect module versions (notably scholar, goquery, and golang.org/x/*). |
| go.sum | Regenerates dependency checksums to align with the updated requirements. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #500 +/- ##
=======================================
Coverage 45.35% 45.35%
=======================================
Files 8 8
Lines 2044 2044
=======================================
Hits 927 927
Misses 996 996
Partials 121 121 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
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
github.com/compscidr/scholarfrom v1.0.9 to v1.0.10Scholar v1.0.10 fixes the root cause of the research page breaking when Google Scholar throttles requests (compscidr/scholar#57, compscidr/scholar#58):
Closes #346
Test plan
🤖 Generated with Claude Code