borrius_pokemon_scraper
v1.0.0
Published
An Api that scrapes and compiles the contents of the Pokemon Unbound Borrius Region Pokedex
Downloads
4
Readme
Borrius Pokedex Scraper
Overview
A Web Scraper that extracts data from the Pokemon Unbound Pokedex website and outputs it to a JSON file.
Built with Python and BeautifulSoup, Based on a tutorial from RealPython
Contains data for the 503 Borrius Region Pokemon found in the Popular Romhack Pokemon Unbound
Unlike the Borrius Dex, this scraper contains the 3 Starter Pokemon (Larvitar, Metang, Gible). They're at the beginning of the Pokedex Data.
Data provided includes:
- Number, Name and Types
- Sprites
- Catch Rate
- Gender Ratio
- Ability
- Weight and Height (Metric and Imperial)
- Stats (Min, Avg Max)
- Learned Moves (Level, Move-name, Type, Category, Power, Accuracy)
- TM/HM Moves ( Move-name, Type, Category, Power, Accuracy)
View Sample JSON here!
Instructions
Note: As the project is completed, the Pokedex is unlikely to have changed, so you may want ot download the JSON provided. Otherwise:
- Install Python dependancies from requirements.txt
- Download and extract the project by cloning this project or running the ZIP
- Run
python borrius_pokemon_scraper.py
in the terminal - Wait for the process to completes (takes around >2 minutes)
- Open the
borrius_pokedex_data.json
file in your favorite text editor and enjoy
TO DO:
- [x] Scrape all pokemon
- [x] Extract Sprite Data from Site! (Not yet Implemented)
- [x] Print retrieved data into JSON
- [x] Save JSON to a file
- [x] Implement Error Messages for process
- [x] Make this available publically/for other projects
FUTURE FEATURES:
- [x] Download and store images for perpetuity in case i need to self host
- [x] Get real pokemon national number (extract from url, Recycling!)
- [x] speed up json generation
- [x] Implement starter pokemon data from Borrius National Dex (+9 more attached to start)
- [/] Compile API
- [/] Patch in missing data from PokeAPI
- [] Line up data for use with Curadex project
- [] Add back sprites from PokeApi
- [] Handle movelists so they're not collosal lists for each pokemon