html-metadata

MetaData html scraper and parser for Node.js (supports Promises and callback style)

MIT License

Downloads
2.1K
Stars
165
Committers
20

Bot releases are visible (Hide)

html-metadata - Require node >= 16 Latest Release

Published by mvolz about 2 months ago

What's Changed

New Contributors

Full Changelog: https://github.com/wikimedia/html-metadata/compare/v1.7.2...v2.0.0

html-metadata - v1.7.2

Published by mvolz about 2 months ago

What's Changed

New Contributors

Full Changelog: https://github.com/wikimedia/html-metadata/compare/v1.7.1...v1.7.2

This change deprecates support for node 0.10 and .12 and is compatible with 4, 6, & 8. It also updates packages to their latest versions.

The following improvements to the metadata scraping were made:

  • Adds in PRISM metadata method parsePrism
  • Adds in icon and apple touch icon metadata to the parseGeneral method
  • Adds in xml lang attribute in the parseGeneral method if the html lang property is not available

Additional, a loadHTML method was exposed for scraping downloaded HTML files.

html-metadata - Fix warns and reject Errors instead of strings

Published by mvolz over 7 years ago

  • Fix warns
  • Clean up tests & replace url that was timing out
  • Rejection values return Errors instead of strings
html-metadata - Adds support for JSON-LD in script tags

Published by mvolz almost 8 years ago

Adds support for JSON-LD in script tags

html-metadata - Adds support for Twitter cards

Published by mvolz almost 8 years ago

Adds support for Twitter cards.