@sk1ppi/js_nitter_scraper
v1.1.2
Published
![Made by](https://img.shields.io/badge/SK1PPI-8A2BE2) ![GitHub License](https://img.shields.io/github/license/sk1ppi/js_nitter_scraper) ![NPM Version](https://img.shields.io/npm/v/@sk1ppi/js_nitter_scraper)
Downloads
9
Maintainers
Readme
@sk1ppi/js-nitter-scraper
This package is an example scraper for fetching tweets from nitter.net. It is written in JavaScript and uses axios and cheerio to fetch and parse the HTML.
Install
To install the package, use the following command:
npm i @sk1ppi/js-nitter-scraper
Example
To use the package, use the following code example:
const { getLatestTweetsByUsername } = require('@sk1ppi/js-nitter-scraper')
async function main () {
const tweets = await getLatestTweetsByUsername('sk1ppi_)
}
Testing
To run tests, use the following command:
npm run test
Contribute
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.