mirror of
https://github.com/iptv-org/epg
synced 2026-09-10 22:06:56 -04:00
finish lo-ditching and update deps
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
const axios = require('axios')
|
||||
const dayjs = require('dayjs')
|
||||
const _ = require('lodash')
|
||||
const { uniqBy } = require('../../scripts/functions')
|
||||
|
||||
module.exports = {
|
||||
site: 'tvmusor.hu',
|
||||
@@ -77,5 +77,5 @@ function parseItems(content, channel, date) {
|
||||
const blockId = `${channel.site_id}_${date.format('YYYY-MM-DD')}`
|
||||
if (!Array.isArray(blocks[blockId])) return []
|
||||
|
||||
return _.uniqBy(_.uniqBy(blocks[blockId], 'e'), 'b')
|
||||
return uniqBy(uniqBy(blocks[blockId], a => a.e), b => b.b)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user