refactor: migrate web-automation to cloakbrowser

This commit is contained in:
Stefano Fiorini
2026-03-11 20:26:59 -05:00
parent c9254ed7eb
commit 4078073f0b
14 changed files with 200 additions and 553 deletions

View File

@@ -1,21 +1,20 @@
{
"name": "web-automation-scripts",
"version": "1.0.0",
"description": "Web browsing and scraping scripts using Camoufox",
"description": "Web browsing and scraping scripts using CloakBrowser",
"type": "module",
"scripts": {
"extract": "node extract.js",
"browse": "tsx browse.ts",
"scrape": "tsx scrape.ts",
"fetch-browser": "npx camoufox-js fetch"
"fetch-browser": "npx cloakbrowser install"
},
"dependencies": {
"@mozilla/readability": "^0.5.0",
"better-sqlite3": "^12.6.2",
"camoufox-js": "^0.8.5",
"cloakbrowser": "^0.3.14",
"jsdom": "^24.0.0",
"minimist": "^1.2.8",
"playwright": "^1.58.2",
"playwright-core": "^1.40.0",
"turndown": "^7.1.2",
"turndown-plugin-gfm": "^1.0.2"