Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/ervin-sungkono/mlbb-wiki-scraper

Scraping tool to extract data from MLBB Wiki and output as JSON file
https://github.com/ervin-sungkono/mlbb-wiki-scraper

fs javascript json nodejs p-limit puppeteer

Last synced: 24 days ago
JSON representation

Scraping tool to extract data from MLBB Wiki and output as JSON file

Awesome Lists containing this project

README

        

# MLBB Wiki Scraper
Tools to scrape web data from the MLBB Wiki and output it as a JSON file, currently the available data that can be scraped are:
- Heroes Data
- Equipment Data
- Emblem Data

This web scraping tool is mainly built using Puppeteer, you can check the documentation by [Clicking Here](https://pptr.dev/category/introduction)

## Resources
- [Puppeteer](https://www.npmjs.com/package/puppeteer)
- [P-Limit](https://www.npmjs.com/package/p-limit)

## Installation and Setup
1. Clone this repository
```sh
git clone https://github.com/ervin-sungkono/qr-code-gen.git
```
2. Install dependency
```sh
npm install
```
3. Run the app
```sh
npm start
```
4. All output files will show in the following directories:
- `/output` for all heroes, equipments, and emblems
- `/heroes` for each hero's detail
- `/equipment` for each equipment's detail

## Preview
### Hero List JSON Example
![Hero Preview](preview/hero.png)
### Equipment List JSON Example
![Equipment Preview](preview/equipment.png)
### Emblem List JSON Example
![Emblem Preview](preview/emblem.png)