mirror of
https://github.com/iptv-org/epg
synced 2026-09-10 22:06:56 -04:00
Fix parsing for tvmusor.hu
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user