1.2.0 • Published 2 years ago

tsp-scraper v1.2.0

Weekly downloads
-
License
GPL-3.0
Repository
github
Last release
2 years ago

tsp-scraper

Scrapes the redesigned TSP share price history page.

Usage

Command line

npm install -g tsp-scraper
npx tsp-scraper

Module

const scraper = require('tsp-scraper');
const prices = await scraper.scrape(); // Returns current TSP share prices

Notes

  • The website's HTML can't be scraped via a simple HTML request since the share price table appears to be dynamically generated
  • A real user agent needs to be configured because the website doesn't seem to work with the default Playwright user agent
1.2.0

2 years ago

1.1.1

2 years ago

1.1.0

2 years ago

1.0.1

2 years ago

1.0.0

2 years ago