{"categories":[{"label":"HTML","url":"https://skillfed.io/packages/category/text-processing-markup-html"}],"enrichment":{"capability":"Extracts structured metadata from HTML markup in multiple formats: Microdata, JSON-LD, Microformats, Open Graph, RDFa, and Dublin Core.","skillfed_tags":["metadata-extraction","web-scraping","structured-data"],"use_cases":["Extract schema.org Microdata from e-commerce product pages to build product catalogs","Parse Open Graph tags from web pages for social media link previews and metadata","Harvest JSON-LD structured data from news articles and blog posts for content indexing","Extract Microformats from personal websites and social profiles for contact/event data","Build semantic web applications by parsing RDFa annotations from HTML documents","Aggregate Dublin Core metadata from institutional or library websites"],"what_it_does":"extruct is a metadata extraction library that parses HTML documents and pulls out structured data embedded in standard formats. It handles W3C Microdata (including schema.org), JSON-LD, Microformats, Open Graph tags, RDFa, and Dublin Core metadata\u2014all through a single unified interface. You pass it an HTML string and optional base URL, and it returns a dictionary keyed by format type, each containing the extracted data.\n\nThe library wraps several specialized parsers (lxml, rdflib, mf2py, pyrdfa3) and HTML utilities (w3lib, html-text, jstyleson) to normalize their output. It's commonly used in web scraping, SEO analysis, and data integration pipelines where you need to reliably extract metadata that content publishers have embedded for search engines, social media, or semantic web applications.","worth_installing":"Yes. extruct is actively maintained, has no known vulnerabilities, supports current Python versions (3.8\u20133.12), and installs with low friction. It solves a real problem\u2014unified extraction of multiple metadata formats\u2014that would otherwise require juggling separate parsers. The permissive license and 971 repository stars indicate solid community adoption. Install it if you need to reliably extract structured metadata from HTML in production or research contexts."},"id":"extruct","links":{"html":"https://skillfed.io/packages/extruct","md":"https://skillfed.io/packages/extruct.md","pypi":"https://pypi.org/project/extruct/"},"maintenance":{"status":"active"},"meta":{"latest_release":"2024-11-08","license_spdx":null,"license_treatment":"permissive","name":"extruct","python_support":"supports_current","summary":"Extract embedded metadata from HTML markup"},"popularity":{"monthly_downloads":659409,"position":5463,"tier":"top_15000"},"security":{"n_vulnerabilities":0},"version":"0.18.0"}
