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.exampleto.envrcand then rundirenv allowto initialize environment variables - Yarn or NPM your workspace (I prefer yarn and upload a yarn.lock, I will not merge
package.lockin PRs) withyarn installornpm install - Test your installation by running
yarn devand navigating tolocalhost:8080by 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 allowafter 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