
{
  "schemaVersion": "1.0.0",
  "id": "bookracy",
  "name": "Bookracy",
  "version": "1.0.0",
  "description": "Ebook sources via Bookracy proxy. Requires a debrid service to download.",
  "icon": "https://bookracy.com/favicon.ico",
  "provides": [
    "source"
  ],
  "contentType": "ebook",
  "rateLimit": {
    "requestsPerMinute": 10,
    "retryAfterMs": 6000
  },
  "matching": {
    "algorithm": "fuzzy",
    "threshold": 0.4
  },
  "adapters": {
    "source": {
      "cacheNotifyUrl": "https://bookracy-proxy.drdilipgreat.workers.dev/bookracy/notify",
      "request": {
        "method": "GET",
        "url": "https://bookracy-proxy.drdilipgreat.workers.dev/bookracy/search?q={QUERY}",
        "timeout": 30000,
        "headers": {
          "Accept": "application/json"
        }
      },
      "response": {
        "type": "json",
        "resultsPath": "results",
        "mapping": {
          "title": "title",
          "author": "author",
          "url": "url",
          "format": "format",
          "language": "language",
          "date": "posted",
          "sizeBytes": "sizeBytes",
          "cover": "cover",
          "description": "description",
          "debridCache": "debridCache"
        }
      }
    }
  }
}
