Update tvgids.nl

This commit is contained in:
freearhey
2023-12-01 01:08:46 +03:00
parent c82e015a44
commit c2f9ff6df5
4 changed files with 44 additions and 27 deletions
+2 -2
View File
@@ -7,7 +7,7 @@ module.exports = {
days: 2,
url: function ({ date, channel }) {
const path =
DateTime.now().day === DateTime.fromMillis(date.valueOf()).day
DateTime.utc().day === DateTime.fromMillis(date.valueOf()).day
? ''
: `${date.format('DD-MM-YYYY')}/`
@@ -48,7 +48,7 @@ module.exports = {
const $ = cheerio.load(data)
const channels = []
$('#channel-container > div').each((i, el) => {
$('.guide__channel-logo-container').each((i, el) => {
channels.push({
site_id: $(el).find('a').attr('id'),
name: $(el).find('img').attr('title'),