- Clone the repo.
- Copy the
.env.example
file into your own.env
(cp .env.example .env
) - Fill out the
.env
file - Install the dependencies (
pnpm install
) - Run the scrape script (
pnpm run scrape
)
Results will be outputted as a array to playwright/results/tweets.json
.
Have fun!
Currently this only grabs the tweets of a given user without any accompanying metadata.
You have to make sure that your account has the least security possible (i.e. no 2FA, recovery emails etc.). That or you just have to update the login methods