Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

请问自定义索引插件是否支持自定义header? #674

Open
antecanis8 opened this issue Feb 10, 2025 · 0 comments
Open

请问自定义索引插件是否支持自定义header? #674

antecanis8 opened this issue Feb 10, 2025 · 0 comments

Comments

@antecanis8
Copy link

如下所示的header用法是否正确?我看索引器和jackett很像,jackett是支持的。

{
    "id": "xxx",
    "name": "xxx",
    "domain": "https://xxx.xxx/",
    "ext_domains": [
      "https://www.xxx1.com/",
      "https://www.xxx2.com/"
    ],
    "encoding": "UTF-8",
    "public": false,
    "search": {
      "paths": [
        {
          "path": "torrents.php",
          "method": "get"
        }
      ],
      "headers": {
            "APITOKEN": "xxx"
      },
      "params": {
        "keyword": "{keyword}",
        "page": 1
      },
      "batch": {
        "delimiter": " ",
        "space_replace": "_"
      }
    },
}
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

No branches or pull requests

1 participant