From 0594d46e0fec749b73b96b3cb4360e770529ebec Mon Sep 17 00:00:00 2001 From: Aleksandr Statciuk Date: Wed, 15 Sep 2021 11:20:08 +0300 Subject: [PATCH] Update README.md --- README.md | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 5cb4b6e..e1e599d 100644 --- a/README.md +++ b/README.md @@ -17,17 +17,23 @@ epg-grabber --config=example.com.config.js Arguments: - `-c, --config`: path to config file -- `-d, --debug`: enable debug mode +- `-o, --output`: path to output file (default: 'guide.xml') +- `--channels`: path to list of channels (can be specified via config file) +- `--lang`: set default language for all programs (default: 'en') +- `--days`: number of days for which to grab the program (default: 1) +- `--delay`: delay between requests (default: 3000) +- `--debug`: enable debug mode (default: false) #### example.com.config.js ```js module.exports = { - lang: 'fr', // default language for all programs (default: 'en') site: 'example.com', // site domain name (required) output: 'example.com.guide.xml', // path to output file (default: 'guide.xml') channels: 'example.com.channels.xml', // path to channels.xml file (required) + lang: 'fr', // default language for all programs (default: 'en') days: 3, // number of days for which to grab the program (default: 1) + delay: 5000, // delay between requests (default: 3000) request: { // request options (details: https://github.com/axios/axios#request-config)