Update tv.mail.ru

This commit is contained in:
Aleksandr Statciuk
2022-02-01 05:40:50 +03:00
parent b878425413
commit 51f9f99bef
2 changed files with 1 additions and 15 deletions

View File

@@ -14,14 +14,6 @@ module.exports = {
channel.site_id
}&date=${date.format('YYYY-MM-DD')}`
},
logo({ content }) {
const json = JSON.parse(content)
if (!json || !Array.isArray(json.schedule)) return null
return json.schedule[0] && json.schedule[0].channel
? json.schedule[0].channel.pic_url_128
: null
},
parser({ content, date }) {
const programs = []
const items = parseItems(content)