Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

esportal-scraper

Package Overview
Dependencies
Maintainers
0
Versions
12
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

esportal-scraper

Pull Esportal profile data

  • 1.3.2
  • latest
  • Source
  • npm
  • Socket score

Version published
Maintainers
0
Created
Source

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")

Keywords

FAQs

Package last updated on 08 Nov 2024

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc