Skip to content

Scrape cookies with all the necessary information for display on a cookie policy page

License

Notifications You must be signed in to change notification settings

kaliberjs/scrape-cookies

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Scrape cookies

This library scrapes cookies with all the necessary information for display on a cookie policy page.

Motivation

Collecting cookies is annoying, lets automate it.

Installation

yarn add @kaliber/scrape-cookies

Usage

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)

Disclaimer

This library is intended for internal use, we provide no support, use at your own risk.

This library is not transpiled.

About

Scrape cookies with all the necessary information for display on a cookie policy page

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published