This repository is a fragile foundation for scraping the transcripts tab on https://dashboard.tickets.bot using Playwright. It requires manually capturing login state (auth.json) and updating many selectors after inspecting the real dashboard in DevTools.
Quick start
- Install dependencies and Playwright browsers:
npm install
npx playwright install-
Create
.envby copying.env.exampleand updating values. -
Run manual auth setup (headed):
npm run auth-setupFollow the browser to log in via Discord OAuth. This will save auth.json.
- Run the scraper (headless):
npm run scrapeTroubleshooting tips
- If session expires: re-run
npm run auth-setupand re-saveauth.json. - If Playwright cannot find elements: open DevTools in
auth-setup.jsflow and copy exact selectors.