finish lo-ditching and update deps

This commit is contained in:
theofficialomega
2025-07-19 22:38:50 +02:00
parent 5e953b6955
commit 4acf1a7c67
9 changed files with 2806 additions and 10207 deletions
+2 -2
View File
@@ -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)
}