Skip to content

Add SerpApi citation updater with monthly workflow#98

Merged
borondics merged 1 commit into
masterfrom
serpapi-citations
Jun 10, 2026
Merged

Add SerpApi citation updater with monthly workflow#98
borondics merged 1 commit into
masterfrom
serpapi-citations

Conversation

@borondics

Copy link
Copy Markdown
Member

The scholarly-based updater was pointed at a dead Google Scholar profile (_7AMrKgAAAAJ now 404s) and gets blocked by Scholar when run unattended, which is why the citation step was disabled in publish.yml.

  • Fix the author ID in update_citations.py to KZCTPYoAAAAJ (Quasar's live profile, matching the link in content/publications/_index.md).
  • Add update_citations_serpapi.py: fetches direct + secondary citation counts via SerpApi (proxies Google Scholar reliably). Keeps the monotonic-decrease guard and fails hard on any API error so a partial crawl never overwrites published numbers with an undercount.
  • Add a monthly GitHub Actions workflow that runs the SerpApi updater and commits data/citations.toml, triggering the existing publish workflow. Needs a SERPAPI_KEY repo secret.
  • Update citations.toml to the verified live counts (direct 395, secondary 4520).

The scholarly-based updater was pointed at a dead Google Scholar profile
(_7AMrKgAAAAJ now 404s) and gets blocked by Scholar when run unattended,
which is why the citation step was disabled in publish.yml.

- Fix the author ID in update_citations.py to KZCTPYoAAAAJ (Quasar's live
  profile, matching the link in content/publications/_index.md).
- Add update_citations_serpapi.py: fetches direct + secondary citation
  counts via SerpApi (proxies Google Scholar reliably). Keeps the
  monotonic-decrease guard and fails hard on any API error so a partial
  crawl never overwrites published numbers with an undercount.
- Add a monthly GitHub Actions workflow that runs the SerpApi updater and
  commits data/citations.toml, triggering the existing publish workflow.
  Needs a SERPAPI_KEY repo secret.
- Update citations.toml to the verified live counts (direct 395,
  secondary 4520).

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
@borondics borondics merged commit 63c22f4 into master Jun 10, 2026
1 check passed
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