From 0b4a1566e51ba1db689b66fcbc6570f676407003 Mon Sep 17 00:00:00 2001 From: freearhey Date: Fri, 2 Apr 2021 20:30:41 +0300 Subject: [PATCH] Update README.md --- README.md | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/README.md b/README.md index 6fd3f44..bd367f2 100644 --- a/README.md +++ b/README.md @@ -28,6 +28,17 @@ module.exports = { output: 'example.com.guide.xml', // path to output file (default: 'guide.xml') 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} channel Data about the requested channel