Adds the number of days to config.js

This commit is contained in:
Aleksandr Statciuk
2023-01-10 12:40:01 +03:00
parent 6dea9e4efd
commit f97f1b55c9
158 changed files with 166 additions and 6 deletions

View File

@@ -9,6 +9,7 @@ const API_KEY = 'da2291af3b10e9900d1c55e1a65d3388' // 10.2022
module.exports = {
site: 'canalplus.com',
days: 2,
url: function ({ channel, date }) {
const diff = date.diff(dayjs.utc().startOf('d'), 'd')