extract logos from tvarenasport.com

This commit is contained in:
whitesnakeftw
2025-08-01 16:04:27 +02:00
parent 7b760fd8ed
commit 925a81afa9
2 changed files with 22 additions and 21 deletions
@@ -64,9 +64,10 @@ module.exports = {
const m = src.match(CHANNEL_LOGO_REGEX)
if (!m) return null
const id = m[1]
let displayName = getDisplayName(id)
let xmltvId = displayName.replaceAll(' ', '').replace(/Serbia$/, '.rs')
return { site_id: id, lang: this.lang, xmltv_id: xmltvId, name: displayName }
const displayName = getDisplayName(id)
const xmltvId = displayName.replaceAll(' ', '').replace(/Serbia$/, '.rs')
const logourl = `https://www.${this.site}${src}`
return { site_id: id, lang: this.lang, xmltv_id: xmltvId, name: displayName, logo: logourl }
})
.get()
}