Go to file
2023-11-29 21:51:37 +08:00
.github/workflows fix main -> master 2023-11-29 21:51:37 +08:00
addons update json info 2023-11-29 21:50:17 +08:00
.gitignore parse id from xpi 2023-11-11 13:30:15 +08:00
addon_keys.py 对齐zotero-chinese格式,去掉release内xpiInfo字段。 2023-11-29 21:41:24 +08:00
fallback_infos.py parse id from xpi 2023-11-11 13:30:15 +08:00
LICENSE init 2023-10-19 21:35:29 +08:00
main.py 对齐zotero-chinese格式,去掉release内xpiInfo字段。 2023-11-29 21:41:24 +08:00
moz_addons.py 对齐zotero-chinese格式,去掉release内xpiInfo字段。 2023-11-29 21:41:24 +08:00
README.md 对齐zotero-chinese格式,去掉release内xpiInfo字段。 2023-11-29 21:41:24 +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.

typically, name it with repo.replace('/', '#').json

If an add-on has different IDs for different Zotero versions, split them into multiple JSON files with different filename.

The file format should be as follows:

{
  "id": "zoteroAddons@ytshen.com",
  "name": "Zotero Addons",
  "repo": "syt2/zotero-addons",
  "releases": [
    {
      "targetZoteroVersion": "7",
      "tagName": "latest"
    },
    {
      "targetZoteroVersion": "6",
      "tagName": "0.6.0-3"
    }
  ]
}

or

{
  "repo": "syt2/zotero-scipdf",
  "releases": [
    {
      "targetZoteroVersion": "7",
      "tagName": "latest"
    }
  ]
}

Generated Format

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