Update example.com.config.js

This commit is contained in:
Aleksandr Statciuk 2022-01-19 17:00:39 +03:00
parent b50a8352d3
commit 02ab113290
1 changed files with 20 additions and 1 deletions

View File

@ -1,3 +1,8 @@
const dayjs = require('dayjs')
const utc = require('dayjs/plugin/utc')
dayjs.extend(utc)
module.exports = {
site: 'example.com',
ignore: true,
@ -14,6 +19,20 @@ module.exports = {
return { accountID: '123' }
}
},
parser: () => [],
parser: () => {
return [
{
title: 'Title',
description: 'Description',
lang: 'en',
category: ['Category1', 'Category2'],
icon: 'https://example.com/image.jpg',
season: 9,
episode: 238,
start: dayjs.utc('2022-01-01 00:00:00'),
stop: dayjs.utc('2022-01-01 01:00:00')
}
]
},
logo: () => 'http://example.com/logos/1TV.png?x=шеллы&sid=777'
}