Fix linter issues in sites/

This commit is contained in:
freearhey 2025-01-01 12:27:22 +03:00
parent d6d20b6413
commit 5df982bb7c
129 changed files with 3316 additions and 3226 deletions

View file

@ -49,7 +49,7 @@ module.exports = {
const channels = []
for (let provider of providers) {
const data = await axios
.post(`https://www.tvireland.ie/tv/schedule`, null, {
.post('https://www.tvireland.ie/tv/schedule', null, {
params: {
provider,
region: 'Ireland',
@ -81,7 +81,7 @@ module.exports = {
}
}
function parseStart($item, date, channel) {
function parseStart($item, date) {
const timeString = $item('td:eq(0)').text().trim()
const dateString = `${date.format('YYYY-MM-DD')} ${timeString}`