Go to file
2023-12-14 23:38:49 +08:00
.github/workflows auto remove caches 2023-11-30 21:40:42 +08:00
addons update zotero-addons z6 tag name 2023-12-14 23:38:49 +08:00
.gitignore parse id from xpi 2023-11-11 13:30:15 +08:00
addon_keys.py - id in plugin => id in release 2023-12-14 21:41:30 +08:00
fallback_infos.py 添加忽略字段 2023-12-14 22:06:28 +08:00
LICENSE init 2023-10-19 21:35:29 +08:00
main.py - id in plugin => id in release 2023-12-14 21:41:30 +08:00
moz_addons.py 对齐zotero-chinese格式,去掉release内xpiInfo字段。 2023-11-29 21:41:24 +08:00
README.md - id in plugin => id in release 2023-12-14 21:41:30 +08:00
requirements.txt parse id from xpi 2023-11-11 13:30:15 +08:00

Zotero Addons Scraper

GitHub Build Status GitHub Last Commit Time

This is a script repository for scraping Zotero addon collections for Zotero, intended for use with Zotero addons.

Switch to (addon-scraper) source in Zotero addons to use this repository.

The script utilizes the GitHub API and GitHub Actions to automatically scrape and parse addon information from the addons folder, and publish to publish branch and the latest release every day.

Contributing New Addons

If you have a new add-on to add, add an add-on information file in the addons folder.

The file format should be as follows:

{
  "name": "Zotero Addons",
  "repo": "syt2/zotero-addons",
  "releases": [
    {   
      "targetZoteroVersion": "7",
      "tagName": "latest"
    },
    {   
      "targetZoteroVersion": "6", 
      "tagName": "0.6.0-3"
    }
  ]
}
  • name(optional):
    The name of the plugin.
    If not provided, the name will be extracted automatically from the XPI provided in release.
  • repo(required):
    The GitHub repository address of the plugin.
  • releases(required):
    Information about the plugin's XPI releases.
    Provide at least one valid plugin release information.
  • targetZoteroVersion(required):
    The Zotero compatibility version for the plugin. Supports "6" or "7".
  • tagName(required): The release information in the GitHub repository.
    Supports "latest", "pre" or a specified tag name.
    If "latest" or "pre" is used, the script will automatically retrieve the latest release information.

Generated Format

The output format for add-on information follows the format specified in zotero-chinese/zotero-plugins.