mirror of
https://github.com/iptv-org/epg.git
synced 2025-05-09 16:40:07 -04:00
Adds option to change the delay between requests
This commit is contained in:
parent
5478aa2b24
commit
b1bcc08591
3 changed files with 8 additions and 0 deletions
|
@ -15,6 +15,7 @@ program
|
|||
.option('-o, --output <path>', 'Path to output file', 'guide.xml')
|
||||
.option('-l, --lang <code>', 'Filter channels by language (ISO 639-2 code)')
|
||||
.option('-t, --timeout <milliseconds>', 'Override the default timeout for each request')
|
||||
.option('-d, --delay <milliseconds>', 'Override the default delay between request')
|
||||
.option(
|
||||
'--days <days>',
|
||||
'Override the number of days for which the program will be loaded (defaults to the value from the site config)',
|
||||
|
@ -37,6 +38,7 @@ export type GrabOptions = {
|
|||
gzip: boolean
|
||||
maxConnections: number
|
||||
timeout?: string
|
||||
delay?: string
|
||||
lang?: string
|
||||
days?: number
|
||||
cron?: string
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue