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:
@@ -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",
|
||||
|
||||
Reference in New Issue
Block a user