[fix] fixing skyperfectv.co.jp

This commit is contained in:
Animenosekai
2024-10-13 21:38:15 +02:00
parent 276414bc63
commit aa77d8abe6
3 changed files with 14 additions and 13 deletions

View File

@@ -17,9 +17,9 @@ module.exports = {
const id = `SV${channel.site_id}EPG${date.format('YYYYMMDD')}`
return `https://s.mxtv.jp/bangumi_file/json01/${id}.json`
},
parser: function ({ content, channel, date }) {
parser: function ({ content }) {
let programs = []
const items = parseItems(content, channel, date)
const items = parseItems(content)
items.forEach(item => {
programs.push({
title: item.Event_name,
@@ -32,7 +32,7 @@ module.exports = {
})
return programs
},
async channels() {
channels() {
return [
{
lang: 'ja',