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

@@ -29,11 +29,11 @@ module.exports = {
async channels() {
const axios = require('axios')
const html = await axios
.get(`https://watch.sportsnet.ca/schedule/tvlistings`)
.get('https://watch.sportsnet.ca/schedule/tvlistings')
.then(r => r.data)
.catch(console.log)
let [, __data] = html.match(/window\.__data \= ([^<]+)<\/script>/)
let [, __data] = html.match(/window\.__data = ([^<]+)<\/script>/)
const func = new Function(`"use strict";return ${__data}`)
const data = func()