browser4-web-miner

Cluster downloaded HTML pages into interactive reports and Excel spreadsheets.

1.1k|151|Updated Mar 12, 2018
One-click install
npx skills add https://github.com/platonai/Browser4 --skill browser4-web-miner
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: browser4-web-miner
Source: https://github.com/platonai/Browser4/tree/main/skills/browser4-web-miner
Command: npx skills add https://github.com/platonai/Browser4 --skill browser4-web-miner

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Analyzing a large folder of downloaded web pages manually is slow and unstructured. WebMiner groups similar HTML pages into clusters and produces an interactive HTML report plus Excel spreadsheets, all locally with no LLM tokens consumed.

Core Features & Use Cases

  • Three-Stage Local Pipeline: Encodes each HTML page into a 69-dimension feature vector, clusters pages with SMILE KMeans (k auto-detected), and renders interactive views.
  • Interactive Reports and Spreadsheets: Generates an index.html report for exploring clusters plus .xlsx files for sorting, filtering, and further analysis in Excel.
  • Resumable Runs: Supports --resume to continue interrupted pipelines and --max-files to limit corpus size.
  • Use Case: You have crawled 500 product detail pages from an e-commerce site. Run the full pipeline to cluster them by page structure, then open the generated report to inspect each cluster and export results to Excel.

Quick Start

Run browser4-cli webminer install once, then ask the assistant to run browser4-cli webminer all on your folder of downloaded HTML files.

Frequently Asked Questions about browser4-web-miner

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I cluster a folder of downloaded HTML pages?

Run browser4-cli webminer all <html-dir> after a one-time browser4-cli webminer install. The pipeline encodes each page into a feature vector, clusters pages with KMeans, and generates an interactive HTML report plus Excel files.

How to analyze web pages locally without sending data to a server?

WebMiner runs entirely on your machine: encoding, clustering, and view generation all execute locally via a Java JAR. No data leaves your computer and no LLM tokens are consumed during processing.

Does web page clustering require Java?

Yes, WebMiner requires Java 17 or later on your PATH. The browser4-cli webminer install command auto-detects a Java installation, preferring the JRE bundled with the Browser4 runtime, or you can set JAVA_HOME.

Why does webminer all find no pages in my directory?

WebMiner only processes files with .html or .htm extensions; all other files are ignored. Verify the input directory path is correct and that it actually contains HTML files with those extensions.

What are the limitations of WebMiner for large page collections?

The free tier handles fewer than 1,000 pages and defaults to processing a maximum of 40 files per run. Use --max-files to control corpus size, or consider the commercial Spark tier for large-scale clustering.

Can I resume an interrupted web page clustering run?

Yes, use the --resume flag with webminer all to continue from the last completed stage instead of starting over. If no project ID is given, the most recent project is resumed automatically.