npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2024 – Pkg Stats / Ryan Hefner

borrius_pokemon_scraper

v1.0.0

Published

An Api that scrapes and compiles the contents of the Pokemon Unbound Borrius Region Pokedex

Downloads

6

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:

  1. Install Python dependancies from requirements.txt
  2. Download and extract the project by cloning this project or running the ZIP
  3. Run python borrius_pokemon_scraper.py in the terminal
  4. Wait for the process to completes (takes around >2 minutes)
  5. 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