Uses extruct to pull machine-readable metadata from raw HTML so an agent can classify, deduplicate, or enrich pages without brittle full-page parsing. It is best for metadata harvesting workflows, not for crawling an entire site or rendering JavaScript-heavy pages.
Scanned 6/8/2026
Install via CLI
openskills install agentskillexchange/skills---
name: "Extract schema.org, Open Graph, and JSON-LD metadata from web pages for indexing"
slug: "extract-schema-org-open-graph-and-json-ld-metadata-from-web-pages-for-indexing"
description: "Uses extruct to pull machine-readable metadata from raw HTML so an agent can classify, deduplicate, or enrich pages without brittle full-page parsing. It is best for metadata harvesting workflows, not for crawling an entire site or rendering JavaScript-heavy pages."
github_stars: 961
verification: "security_reviewed"
source: "https://github.com/scrapinghub/extruct"
author: "Scrapinghub"
publisher_type: "Company"
category: "Research & Scraping"
framework: "Multi-Framework"
tool_ecosystem:
github_repo: "scrapinghub/extruct"
github_stars: 961
---
# Extract schema.org, Open Graph, and JSON-LD metadata from web pages for indexing
Uses extruct to pull machine-readable metadata from raw HTML so an agent can classify, deduplicate, or enrich pages without brittle full-page parsing. It is best for metadata harvesting workflows, not for crawling an entire site or rendering JavaScript-heavy pages.
## Prerequisites
Python 3 environment
## Installation
Use the upstream install or setup path that matches your environment:
- pip install extruct
- pip install 'extruct[cli]'
- pip install -r requirements-dev.txt
Requirements and caveats from upstream:
- :target: https://pypi.python.org/pypi/extruct
- .. _rdflib: https://pypi.python.org/pypi/rdflib/
- First fetch the HTML using python-requests and then feed the response body to extruct::
Basic usage or getting-started notes:
- ------------
- ::
- -----
- Source: https://github.com/scrapinghub/extruct
- Extracted from upstream docs: https://raw.githubusercontent.com/scrapinghub/extruct/HEAD/README.rst
## Documentation
- https://github.com/scrapinghub/extruct#readme
## Source
- [Agent Skill Exchange](https://agentskillexchange.com/skills/extract-schema-org-open-graph-and-json-ld-metadata-from-web-pages-for-indexing/)
No comments yet. Be the first to comment!