Update cosmote.gr
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
// npx epg-grabber --config=sites/cosmote.gr/cosmote.gr.config.js --channels=sites/cosmote.gr/cosmote.gr_gr.channels.xml --output=.gh-pages/guides/gr/cosmote.gr.epg.xml --days=2
|
||||
|
||||
const { parser, url, logo } = require('./cosmote.gr.config.js')
|
||||
const { parser, url } = require('./cosmote.gr.config.js')
|
||||
const dayjs = require('dayjs')
|
||||
const utc = require('dayjs/plugin/utc')
|
||||
const timezone = require('dayjs/plugin/timezone')
|
||||
@@ -23,12 +23,6 @@ it('can generate valid url', () => {
|
||||
)
|
||||
})
|
||||
|
||||
it('can generate valid logo url', () => {
|
||||
expect(logo({ content })).toBe(
|
||||
'https://www.cosmote.gr/portal/image/journal/article?img_id=56014332&t=1544180299920'
|
||||
)
|
||||
})
|
||||
|
||||
it('can parse response', () => {
|
||||
const result = parser({ content, channel, date }).map(p => {
|
||||
p.start = p.start.toJSON()
|
||||
|
||||
Reference in New Issue
Block a user