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.
To install the package, use the following command:
npm i @sk1ppi/package-nitter-scraper
To use the package, use the following code example:
const { getLatestTweetsByUsername } = require('@sk1ppi/package-nitter-scraper')
async function main () {
const tweets = await getLatestTweetsByUsername('sk1ppi_)
}
To run tests, use the following command:
npm run test
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.