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

@@ -40,7 +40,7 @@ module.exports = {
const cheerio = require('cheerio')
const data = await axios
.get(`https://www.singtel.com/personal/products-services/tv/tv-programme-guide`)
.get('https://www.singtel.com/personal/products-services/tv/tv-programme-guide')
.then(r => r.data)
.catch(console.log)
@@ -62,7 +62,7 @@ function parseItems(content, channel) {
try {
const data = JSON.parse(content)
return data && data[channel.site_id] ? data[channel.site_id] : []
} catch (err) {
} catch {
return []
}
}