Bake credentials which can be used to bypass the paywall of many OneLog supported news websites with the accompanying browser extensions.
All websites supported by OneLog can be found on their page https://consent.onelog.ch.
This is the api for https://github.com/jsalamander/BZCookieBear
A container image is availabe on DockerHub
Domain: https://www.bzcookie.fans/ (note due to Heroku and bad DNS provider only a subdomain works)
Path: /
Method: GET
Example Response
{
"email": "wur2c@subcaro.com",
"password": "Aa1-xcxnGQwTW-jG2-xeJyH"
}
There are some env variables that mus be set.
RAPID_API_KEY
: The API key for your https://rapidapi.com/Privatix/api/temp-mail access
PORT
: Default 3000
the port the express server listens on
COOKIE_MAX_DAYS_AGE
: Default 5
Defines how many days cookies remain valid in the cache
POLL_FREQUENCY_MS
: Default 1000
Frequency in Millseconds for polling the confirmation email from RapidAPI
POLL_TIMEOUT_MS
: Default 20000
Max Milliseconds for trying to poll the confirmation email
SENTRY_DSN
: Default false
DSN of your Sentry host. If not set, Sentry is not activated
CRON_COOKIE_FETCH_EXPR
: Default "0 */8 * * *"
Cron expression at which CookieBakery tries to fetch new cookies
PUPPETEER_TIMEOUT
: Default 10000
Puppeteer default timeout time in ms
COOKIE_BANNER_TIMEOUT
: Default 3000
Timeout to wait for Cookie Banner (does not show up in Switzerland 👾)
BAKERY_LOG_LEVEL
: Default not set. Allows to define the log level as one from trace, debug, info, warn, error and fatal (plus all and off)
.
- Clone this repository
git clone https://github.com/jsalamander/BZCookieBakery.git
- Install the dependencies
npm i
- Run it
node app.js