1.3.2 • Published 8 months ago

esportal-scraper v1.3.2

Weekly downloads
-
License
MIT
Repository
github
Last release
8 months ago

esportal-scraper

A consumable Node package to scrape data from Esportal. Due to Esportal API being protected by Cloudflare, the best approach is to spin up a headless browser and scrape the API.
Ulixee Hero is used to bypass Cloudflare.

Usage

Install

To start, it's best to run with a local Hero Core, so you should install @ulixee/hero-core as a peer dependency:

npm i esportal-scraper @ulixee/hero-core

Later, if you'd like to use a remote Hero Core, you can remove the @ulixee/hero-core peer dependency.

Example Usage

  • Typescript:
import { EsportalScraper } from 'esea-scraper';

const esportal = new EsportalScraper();
await esportal.getPlayer('76561199023463910');
  • Javascript:
const esportalScraper = require("esportal-scraper");
const esportal = new esportalScraper.EsportalScraper;
await esportal.getPlayer("76561199023463910")
1.3.2

8 months ago

1.3.1

9 months ago

1.3.0

9 months ago

1.2.0

1 year ago

1.1.0

1 year ago

1.0.6

2 years ago

1.0.5

2 years ago

1.0.4

2 years ago

1.0.3

2 years ago

1.0.2

2 years ago

1.0.1

2 years ago

1.0.0

2 years ago