mirror of
https://github.com/LukeHagar/archives-of-nethys-scraper.git
synced 2025-12-06 04:19:14 +00:00
34 lines
622 B
TypeScript
34 lines
622 B
TypeScript
import dotenv from "dotenv";
|
|
dotenv.config();
|
|
|
|
export const config = {
|
|
// These values should be static, and tell the scraper how to access the AON elastic instance.
|
|
root: "https://elasticsearch.aonprd.com/",
|
|
index: "aon",
|
|
|
|
// Comment out any targets you do not want to scrape.
|
|
targets: [
|
|
"action",
|
|
"ancestry",
|
|
"archetype",
|
|
"armor",
|
|
"article",
|
|
"background",
|
|
"class",
|
|
"creature",
|
|
"creature-family",
|
|
"deity",
|
|
"equipment",
|
|
"feat",
|
|
"hazard",
|
|
"rules",
|
|
"skill",
|
|
"shield",
|
|
"spell",
|
|
"source",
|
|
"trait",
|
|
"weapon",
|
|
"weapon-group",
|
|
],
|
|
};
|