Update programme-tv.net.config.js

This commit is contained in:
Shadix A 2021-09-05 22:39:00 +02:00 committed by GitHub
parent 02b96fb409
commit 212491174c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -31,7 +31,7 @@ module.exports = {
parser: function ({ content, date }) {
const programs = []
const dom = new JSDOM(content)
const broadcastCards = dom.window.document.querySelectorAll('.singleBroadcastCard')
const broadcastCards = dom.window.document.querySelectorAll('.mainBroadcastCard')
broadcastCards.forEach(card => {
const hour = (
card.getElementsByClassName('mainBroadcastCard-startingHour')[0] || { textContent: '' }