---
name: extract-web-page-content-into-structured-markdown
description: "Renders dynamic web pages in a headless browser, extracts page text, metadata, and links, and formats the results into structured markdown documents. Use when a team needs readable notes from interactive sites or single-page applications."
license: CC-BY-4.0
compatibility: "Needs access to: Browser, Terminal, Docs."
metadata:
  author: "BotBento Editorial"
  version: "2026-10-15"
  source: "https://botbento.com/usecases/extract-web-page-content-into-structured-markdown/"
  kind: skill
  hermes:
    tags: ["scraping", "automation", "browser", "markdown"]
    category: research
    requires_toolsets: ["browser", "terminal", "file"]
---
# Extract web page content into structured markdown

Crawl dynamic websites, extract page text, and generate structured markdown summaries

## When to use

Navigate interactive sites and single-page applications using headless browser automation. The bot visits target URLs, waits for client-side content to finish rendering, extracts structured text and metadata, and formats the gathered information into clean markdown files for team review.

## Inputs

- `target_urls`: One or more web addresses of the pages to render, wait on, and extract content from.

## Steps

1. When you ask: Receive target URLs (A person asks the bot to extract content from one or more target URLs.)
2. Render pages and extract text
3. Export structured markdown docs

## Instructions

When given a target URL or list of web addresses, launch a headless browser session to render the full page contents. Wait for dynamic selectors to settle before extracting main article text, headers, and links. Format the extracted information into markdown notes. Do not submit external forms, delete stored files, or send messages without explicit user approval.

## Approvals

- Submitting external forms requires explicit user approval.
- Deleting stored files requires explicit user approval.
- Sending messages requires explicit user approval.

## Output

Structured markdown files containing extracted page text, headers, metadata, and links. (format: markdown)

## Source

Summarized in our own words from [browser: Lightpanda: the headless browser designed for AI and automation](https://github.com/lightpanda-io/browser) (GitHub, checked 2026-10-15). Any results described there are the authors’ own.

From the BotBento use-case directory: https://botbento.com/usecases/extract-web-page-content-into-structured-markdown/. Licence: [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/).
