Update README.md

This commit is contained in:
freearhey 2021-04-02 20:30:41 +03:00
parent 97cee79609
commit 0b4a1566e5
1 changed files with 11 additions and 0 deletions

View File

@ -28,6 +28,17 @@ module.exports = {
output: 'example.com.guide.xml', // path to output file (default: 'guide.xml') output: 'example.com.guide.xml', // path to output file (default: 'guide.xml')
channels: 'example.com.channels.xml', // path to channels.xml file (required) channels: 'example.com.channels.xml', // path to channels.xml file (required)
request: { // request options (details: https://github.com/axios/axios#request-config)
method: 'GET',
headers: {
'User-Agent':
'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/79.0.3945.130 Safari/537.36 Edg/79.0.309.71',
},
timeout: 5000
},
/** /**
* @param {object} date The 'dayjs' instance with the requested date * @param {object} date The 'dayjs' instance with the requested date
* @param {object} channel Data about the requested channel * @param {object} channel Data about the requested channel