This tool is designed to extract text from ConsumerFinance.gov rules using Playwright and Node.js.
- Node.js version 20 (current LTS version)
- npm
- Clone this repository.
- Run
npm install
to install dependencies. - If encountering any browser errors, run
npx install playwright
.
- Run
start.bat
.
- Run
start.sh
.
- To manually run the tool, use
node ./src/main.js
ornpm start
.
- Modify the
startUrls
in thesrc/main.js
file to change the URLs to extract text from.