- Add update_url field to CachedRelease to persist update URL in cache - Add get_latest_release() method to RepoCache for retrieving newest release - Add _check_latest_release_update_url() to check for updates even when no new GitHub releases exist - Now checks update_url on every run, not just when parsing new releases 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com> |
||
|---|---|---|
| .claude | ||
| .github/workflows | ||
| addons | ||
| scripts | ||
| src/zotero_scraper | ||
| tests | ||
| .gitignore | ||
| LICENSE | ||
| main.py | ||
| pyproject.toml | ||
| README.md | ||
| requirements-dev.txt | ||
| requirements.txt | ||
Zotero Addons Scraper
This is a script repository for scraping Zotero add-ons, intended for use with Zotero Addons.
Switch to
addon-scrapersource in Zotero Addons to use this repository.
Workflows
This repository utilizes GitHub Actions workflow for automation. including the following steps:
- Retrieve Zotero add-on information specified in addons folder
- Parse add-on information into JSON data
- Publish the JSON data to the
publishbranch and the latest release
Contributing
Adding a new add-on entry {owner}#{repo}.json in the addons folder.
e.g.,
{
"repo": "syt2/zotero-addons",
"releases": [
{
"targetZoteroVersion": "7",
"tagName": "latest"
},
{
"targetZoteroVersion": "6",
"tagName": "0.6.0-6"
}
]
}
repo(required):
GitHub repository of the plugin.releases(required):
XPI releases information of the Add-on.
Provide at least one valid release information.targetZoteroVersion(required):
Zotero compatibility version for the add-on. Supports"6"or"7".tagName(required): The release tag name in the GitHub repository.
Supports"latest","pre"ora specified tag name.
If"latest"is used, script will automatically retrieve the latest release tag. If"pre"is used, script will automatically retrieve the latest pre-release tag.
Usage
forkthis repository- Enable actions and scheduled workflow in
Actionspage of forked repository
Generated Format
The output format for add-on information follows the format specified in zotero-chinese/zotero-plugins.