Compare Metascraper accuracy with other libraries
masterMetascraper achieves higher accuracy (95.54% correct) compared to libraries like html-metadata, node-metainspector, open-graph-scraper, and unfluff because it uses a series of fallbacks for each piece of metadata rather than relying solely on spec-compliant tags like Open Graph. It is specifically tuned for parsing article information.
Metadata Accuracy Definitions
When evaluating accuracy, the following criteria are used:
- author: Correct if in
First Lastformat without extra junk information. - date: Correct if it is the correct date (regardless of time) and follows the ISO 8601 format.
- description: Correct if it is the publisher's chosen description or the first paragraph of the article.
- image: Correct if it is the publisher's chosen image or the first image on the page.
- publisher: Correct if it is the publisher's proper name or their domain name.
- title: Correct if it is the title of the article or the title of the page.
- url: Correct if it resolves back to the original article.