mirror of
https://github.com/iptv-org/epg.git
synced 2025-05-09 16:40:07 -04:00
Update grab.ts
This commit is contained in:
parent
d15b21bfd3
commit
8517679998
1 changed files with 2 additions and 0 deletions
|
@ -16,6 +16,7 @@ program
|
||||||
.option('-l, --lang <code>', 'Filter channels by language (ISO 639-2 code)')
|
.option('-l, --lang <code>', 'Filter channels by language (ISO 639-2 code)')
|
||||||
.option('-t, --timeout <milliseconds>', 'Override the default timeout for each request')
|
.option('-t, --timeout <milliseconds>', 'Override the default timeout for each request')
|
||||||
.option('-d, --delay <milliseconds>', 'Override the default delay between request')
|
.option('-d, --delay <milliseconds>', 'Override the default delay between request')
|
||||||
|
.option('-x, --proxy <url>', 'Use the specified proxy')
|
||||||
.option(
|
.option(
|
||||||
'--days <days>',
|
'--days <days>',
|
||||||
'Override the number of days for which the program will be loaded (defaults to the value from the site config)',
|
'Override the number of days for which the program will be loaded (defaults to the value from the site config)',
|
||||||
|
@ -42,6 +43,7 @@ export type GrabOptions = {
|
||||||
lang?: string
|
lang?: string
|
||||||
days?: number
|
days?: number
|
||||||
cron?: string
|
cron?: string
|
||||||
|
proxy?: string
|
||||||
}
|
}
|
||||||
|
|
||||||
const options: GrabOptions = program.opts()
|
const options: GrabOptions = program.opts()
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue