Fix mi.tv time parsing and cheerio stuff

This commit is contained in:
BastyPro112
2026-07-01 20:28:46 -04:00
parent 55c9b52aab
commit ec8ced475c
3 changed files with 25 additions and 67 deletions
+1 -1
View File
@@ -21,7 +21,7 @@ it('can generate valid url', () => {
it('can parse response', () => {
const content = fs.readFileSync(path.resolve(__dirname, '__data__/content.html'), 'utf8')
const result = parser({ content, date }).map(p => {
const result = parser({ content, date, channel }).map(p => {
p.start = p.start.toJSON()
p.stop = p.stop.toJSON()
return p