web-scraper

Extract clean article text and structured news metadata from URLs into JSON.

1|Updated Apr 9, 2026
One-click install
npx skills add https://github.com/droxey/skills --skill web-scraper-droxey
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: web-scraper
Source: https://github.com/droxey/skills/tree/main/web-scraper
Command: npx skills add https://github.com/droxey/skills --skill web-scraper-droxey

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill solves the problem of getting reliable article text and metadata from inconsistent web pages, including JS-heavy sites, without dumping raw HTML or guessing blindly.

Core Features & Use Cases

  • Multi-strategy extraction cascade: starts with lightweight static fetching and escalates to Playwright rendering only when needed.
  • News detection + structured metadata: detects news/articles via URL patterns, Schema.org/og tags, and content heuristics, then extracts title/author/date/section/tags and paywall signals.
  • Clean-text comprehension and optional entity extraction: extracts and normalizes main content first, then optionally runs LLM entity extraction only on clean text to produce people/organizations/locations/events/relationships.
  • Output-ready JSON with quality metadata: produces structured JSON results including method, paywall type, provenance fields, and data-quality assessment.
  • Use Case: Process a list of 500 blog/news URLs, validate which ones are articles, extract cleaned content and entities, and generate JSON outputs for downstream analysis.

Quick Start

Use the web-scraper skill to extract article text and structured metadata from a set of news URLs, detect paywalls, and output JSON with quality and provenance fields.

Frequently Asked Questions about web-scraper

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

FAQPage Schema
How do I extract clean article text and structured metadata from multiple news URLs?

To extract clean article text and structured metadata from multiple news URLs, this skill uses a multi-strategy cascade that fetches static HTML and escalates to Playwright headless Chromium rendering only when needed, outputting structured JSON with titles, authors, dates, and tags.

Does web scraping with Playwright handle JavaScript-rendered SPA pages?

Yes, web scraping with Playwright handles JavaScript-rendered SPA pages by utilizing a headless Chromium browser to execute client-side scripts, ensuring dynamically loaded content is fully rendered before the text extraction and boilerplate removal stages begin.

What is the best way to remove boilerplate HTML and get structured JSON for downstream analytics?

The best way to remove boilerplate HTML and get structured JSON is using a staged extraction pipeline that detects news content via Schema.org and Open Graph tags, normalizes the main text, and outputs clean data with provenance and quality assessment fields.

Can I extract named entities like people and organizations from cleaned article text?

You can extract named entities like people, organizations, locations, and events by running optional LLM entity extraction on the cleaned article text, which ensures the model processes normalized content rather than messy raw HTML.

Does this content extraction method respect robots.txt and rate limiting for bulk crawling?

Yes, this content extraction method enforces safety constraints including robots.txt respect and rate limiting, allowing you to reliably process bulk lists of up to 500 URLs without triggering server blocks or violating crawling protocols.

How does news detection identify paywalls and article structures from web pages?

News detection identifies paywalls and article structures by analyzing URL patterns, parsing Schema.org and Open Graph metadata, and applying content heuristics to validate whether a page is a true article before extracting the main text.