Skip to content

Improve metadata coverage, expose loadHTML method, deprecate support for node 0.10 & 0.12

Compare
Choose a tag to compare
@mvolz mvolz released this 25 Jan 10:29

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.