Add HTML structure debugging script

- Create debug-html.ts to save actual HTML from pages
- Add npm run debug command to package.json
- Helps identify correct CSS selectors for crawlers
- Saves HTML to debug-ruliweb.html and debug-arcalive.html

Usage: npm run debug
This commit is contained in:
Claude
2025-11-15 17:57:35 +00:00
parent ae85dcbd87
commit dd4345267a
2 changed files with 49 additions and 1 deletions

View File

@@ -8,7 +8,8 @@
"dev": "tsx watch src/index.ts",
"build": "tsc",
"start": "node dist/index.js",
"test": "tsx src/test.ts"
"test": "tsx src/test.ts",
"debug": "tsx src/debug-html.ts"
},
"keywords": [
"crawler",