Files
crunchy/src/interface/IConfig.d.ts
Godzil 876def4392 Add code to check what langage CR is serving the page, and try to adapt
some regexp to that. The langage can be forced by the user

Fix #1 and Fix #76
2018-08-11 20:42:12 +01:00

43 lines
889 B
TypeScript

interface IConfig {
// Authentication
pass?: string;
user?: string;
// Disables
cache?: boolean;
merge?: boolean;
episodes?: string;
// Settings
crlang?: string;
format?: string;
output?: string;
series?: string;
nametmpl?: string;
tag?: string;
ignoredub?: boolean;
resolution?: string;
video_format?: string;
video_quality?: string;
rebuildcrp?: boolean;
batch?: string;
verbose?: boolean;
debug?: boolean;
unlog?: boolean;
retry?: number;
// Login options
userAgent?: string;
logUsingApi?: boolean;
logUsingCookie?: boolean;
crSessionUrl?: string;
crDeviceType?: string;
crAPIVersion?: string;
crLocale?: string;
crSessionKey?: string;
crLoginUrl?: string;
// Third method, injecting data from cookies
crUserId?: string;
crUserKey?: string;
// Generated values
crDeviceId?: string;
crSessionId?: string;
}