mirror of
https://github.com/anidl/multi-downloader-nx.git
synced 2026-04-21 00:12:05 +00:00
Update config
This commit is contained in:
parent
06fbd7a4bc
commit
aca06d9a76
5 changed files with 2 additions and 9 deletions
|
|
@ -1,4 +1,4 @@
|
|||
videoLayer: 7
|
||||
q: 0
|
||||
nServer: 1
|
||||
mp4mux: false
|
||||
noCleanUp: false
|
||||
|
|
@ -56,9 +56,6 @@ export default (async () => {
|
|||
if (argv.allDubs) {
|
||||
argv.dubLang = langsData.dubLanguageCodes;
|
||||
}
|
||||
if (argv.allSubs) {
|
||||
argv.dlsubs = langsData.languages.map(a => a.code);
|
||||
}
|
||||
// select mode
|
||||
if (argv.silentAuth && !argv.auth) {
|
||||
await doAuth();
|
||||
|
|
|
|||
|
|
@ -44,7 +44,6 @@ After installing NodeJS with NPM go to directory with `package.json` file and ty
|
|||
* `--all` download all videos at once
|
||||
* `--alt` alternative episode listing (if available)
|
||||
* `--subLang` select one or more subtile language
|
||||
* `--allSubs` If set to true, all available subs will get downloaded
|
||||
* `--dub` select one or more dub languages
|
||||
* `--allDubs` If set to true, all available dubs will get downloaded
|
||||
* `--simul` force select simulcast version instead of uncut version
|
||||
|
|
|
|||
3
funi.ts
3
funi.ts
|
|
@ -61,9 +61,6 @@ export default (async () => {
|
|||
if (argv.allDubs) {
|
||||
argv.dubLang = langsData.dubLanguageCodes;
|
||||
}
|
||||
if (argv.allSubs) {
|
||||
argv.dlsubs = langsData.languages.map(a => a.code);
|
||||
}
|
||||
// select mode
|
||||
if (argv.silentAuth && !argv.auth) {
|
||||
await auth();
|
||||
|
|
|
|||
|
|
@ -3,7 +3,7 @@ import { args, groups } from './module.args';
|
|||
|
||||
yargs(process.argv.slice(2));
|
||||
|
||||
let argvC: { [x: string]: unknown; username: string|undefined, password: string|undefined, silentAuth: boolean, skipSubMux: boolean, downloadArchive: boolean, addArchive: boolean, but: boolean, auth: boolean | undefined; dlFonts: boolean | undefined; search: string | undefined; 'search-type': string; page: number | undefined; 'search-locale': string; new: boolean | undefined; 'movie-listing': string | undefined; series: string | undefined; s: string | undefined; e: string | undefined; q: number; x: number; kstream: number; partsize: number; hslang: string; dlsubs: string[]; novids: boolean | undefined; noaudio: boolean | undefined; nosubs: boolean | undefined; dubLang: string[]; all: boolean; fontSize: number; allSubs: boolean; allDubs: boolean; timeout: number; simul: boolean; mp4: boolean; skipmux: boolean | undefined; fileName: string; numbers: number; nosess: string; debug: boolean | undefined; nocleanup: boolean; help: boolean | undefined; service: 'funi' | 'crunchy'; update: boolean; fontName: string | undefined; _: (string | number)[]; $0: string; };
|
||||
let argvC: { [x: string]: unknown; username: string|undefined, password: string|undefined, silentAuth: boolean, skipSubMux: boolean, downloadArchive: boolean, addArchive: boolean, but: boolean, auth: boolean | undefined; dlFonts: boolean | undefined; search: string | undefined; 'search-type': string; page: number | undefined; 'search-locale': string; new: boolean | undefined; 'movie-listing': string | undefined; series: string | undefined; s: string | undefined; e: string | undefined; q: number; x: number; kstream: number; partsize: number; hslang: string; dlsubs: string[]; novids: boolean | undefined; noaudio: boolean | undefined; nosubs: boolean | undefined; dubLang: string[]; all: boolean; fontSize: number; allDubs: boolean; timeout: number; simul: boolean; mp4: boolean; skipmux: boolean | undefined; fileName: string; numbers: number; nosess: string; debug: boolean | undefined; nocleanup: boolean; help: boolean | undefined; service: 'funi' | 'crunchy'; update: boolean; fontName: string | undefined; _: (string | number)[]; $0: string; };
|
||||
|
||||
export type ArgvType = typeof argvC;
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue