linktree-scraper
TypeScript icon, indicating that this package has built-in type declarations

0.2.2 • Public • Published

Linktree Profile Scraper

This library helps you pull the raw JSON payload out of a linktree profile. This is by no means an official tool and could break by any code changes from the Linktree team.

Usage

Install the package

npm install --save linktree-scraper

Scrape a profile

const Scraper = require("linktree-scraper").default;

Scraper('username').then(profile => {
  console.log(profile);
}).catch((error) => {
  console.error(error);
  console.log('Uh oh!');
});

Here is an example of the data format that is returned.

Credits

I started this library off from this template: https://github.com/krasimir/webpack-library-starter

License

MIT

Readme

Keywords

Package Sidebar

Install

npm i linktree-scraper

Weekly Downloads

178

Version

0.2.2

License

MIT

Unpacked Size

16.1 kB

Total Files

8

Last publish

Collaborators

  • benkaiser