config.ts 622 B

123456789101112131415161718192021222324252627282930313233
  1. import dotenv from "dotenv";
  2. dotenv.config();
  3. export const config = {
  4. // These values should be static, and tell the scraper how to access the AON elastic instance.
  5. root: "https://elasticsearch.aonprd.com/",
  6. index: "aon",
  7. // Comment out any targets you do not want to scrape.
  8. targets: [
  9. "action",
  10. "ancestry",
  11. "archetype",
  12. "armor",
  13. "article",
  14. "background",
  15. "class",
  16. "creature",
  17. "creature-family",
  18. "deity",
  19. "equipment",
  20. "feat",
  21. "hazard",
  22. "rules",
  23. "skill",
  24. "shield",
  25. "spell",
  26. "source",
  27. "trait",
  28. "weapon",
  29. "weapon-group",
  30. ],
  31. };