This library scrapes cookies with all the necessary information for display on a cookie policy page.
Collecting cookies is annoying, lets automate it.
yarn add @kaliber/scrape-cookies
Short example. If your library has multiple ways to use it, show the most used one and refer to /example
for further examples.
const scrapeCookies = require('@kaliber/scrape-cookies')
const cookieJson = await scrapeCookies('http://localhost:8000', {
userAgent: 'KaliberEvidenceCollector'
})
console.log(cookieJson)
This library is intended for internal use, we provide no support, use at your own risk.
This library is not transpiled.