Update /sites

This commit is contained in:
freearhey
2023-10-02 06:35:33 +03:00
parent ca254a6df0
commit c0cfcf7a47
543 changed files with 30781 additions and 31187 deletions
@@ -4,7 +4,7 @@ const dayjs = require('dayjs')
module.exports = {
site: 'tvarenasport.com',
days: 2,
url: function ({ channel, date }) {
url: function ({ date }) {
return `https://www.tvarenasport.com/api/schedule?date=${date.format('DD-MM-YYYY')}`
},
parser: function ({ content, channel }) {
@@ -24,7 +24,7 @@ module.exports = {
},
async channels() {
const data = await axios
.get(`https://www.tvarenasport.com/api/schedule`)
.get('https://www.tvarenasport.com/api/schedule')
.then(r => r.data)
.catch(console.log)