Teyvat Dev Microservice scrapers written in node
With Genshin Impact updating consistency there is a need for automation, these scrapers help with that task, although not perfect they will assist with the upkeep of up to date information in the API
This project uses cheerio for parsing of website dom, and subsequently scraping. please visit the Docs for more information. If you know JQuery this should be a breeze.
- Fork the repo and clone it to your local machine
- Copy or Move the
.envrc.example
to.envrc
and then rundirenv allow
to initialize environment variables - Yarn or NPM your workspace (I prefer yarn and upload a yarn.lock, I will not merge
package.lock
in PRs) withyarn install
ornpm install
- Test your installation by running
yarn dev
and navigating tolocalhost:8080
by default this should return a list of all playable characters
You can change the function you are testing / working on by changing the FUNCTION_TARGET
env variable in .envrc
.
Remember to reload your env with
direnv allow
after you have made any environment variable changes
- Artifacts
- ArtifactSets
- Characters Current Development
- CharacterAscensions
- CharacterAscensionMaterials
- CharacterProfiles Current Development
- CommonAscensionMaterials
- CommonMaterials
- Consumeables
- ConsumeableRecipes
- CookingMaterials
- CraftingMaterials
- Domains
- Elements
- ForgeRecipes
- Regions
- Talents Current Development
- TalentLevelUpMaterials
- Weapons
- WeaponAscensions
- WeaponAscensionMaterials
- WeaponEnhancementMaterials