Fix parsing for tvmusor.hu

This commit is contained in:
Gergely Zsolt
2025-06-10 11:02:31 +00:00
parent 11e3f2cabe
commit 72d3505019
2 changed files with 7 additions and 7 deletions
+3 -3
View File
@@ -5,7 +5,7 @@ const _ = require('lodash')
module.exports = {
site: 'tvmusor.hu',
days: 2,
url: 'http://www.tvmusor.hu/a/get-events/',
url: 'https://tvmusor.borsonline.hu/a/get-events/',
request: {
method: 'POST',
headers: {
@@ -48,7 +48,7 @@ module.exports = {
},
async channels() {
const data = await axios
.get('http://www.tvmusor.hu/most/')
.get('https://tvmusor.borsonline.hu/most/')
.then(r => r.data)
.catch(console.log)
@@ -67,7 +67,7 @@ module.exports = {
}
function parseImage(item) {
return item.z ? `http://www.tvmusor.hu/images/events/408/${item.z}` : null
return item.z ? `https://tvmusor.borsonline.hu/images/events/408/${item.z}` : null
}
function parseItems(content, channel, date) {