node-csfd-api
Version:
ČSFD API in JavaScript. Amazing NPM library for scrapping csfd.cz :)
13 lines • 624 B
TypeScript
//#region src/fetchers/index.d.ts
/**
* The cached Anubis cookie, so it can be persisted between runs. Anubis binds
* it to the client IP for a week, so it is only reusable from the same address.
*/
declare const getAnubisCookie: () => string | null;
/** Seed the cookie cache, e.g. from a previous run or a per-tenant store. */
declare const setAnubisCookie: (cookie: string | null) => void;
/** Forget the cookie so the next request solves a fresh challenge. */
declare const resetAnubisCookie: () => void;
//#endregion
export { getAnubisCookie, resetAnubisCookie, setAnubisCookie };
//# sourceMappingURL=index.d.ts.map