scrape-metadata
HTML metadata scraper
install
npm install --save scrape-metadata
usage
const scrape =
example response
Here's what an example response might look like in a website heavily decorated with metadata. Note that by default images
will contain every image on an HTML page. When og:image
tags are present, the images
list will be replaced with their contents.
api
scrape(url, options?, done)
url
is the URL of the page you want to scrape metadata fromoptions
is optional, passed torequest
done
is a callback with an(err, meta)
signature
license
mit