mirror of
https://github.com/iptv-org/epg
synced 2026-05-07 01:46:59 -04:00
Update web.magentatv.de.config.js
This commit is contained in:
@@ -46,6 +46,7 @@ module.exports = {
|
|||||||
title: item.name,
|
title: item.name,
|
||||||
description: item.introduce,
|
description: item.introduce,
|
||||||
image: parseImage(item),
|
image: parseImage(item),
|
||||||
|
icon: parseImage(item),
|
||||||
category: parseCategory(item),
|
category: parseCategory(item),
|
||||||
start: parseStart(item),
|
start: parseStart(item),
|
||||||
stop: parseStop(item),
|
stop: parseStop(item),
|
||||||
@@ -176,7 +177,7 @@ async function fetchCookieAndToken() {
|
|||||||
T: 'Windows_chrome_118'
|
T: 'Windows_chrome_118'
|
||||||
},
|
},
|
||||||
method: 'POST',
|
method: 'POST',
|
||||||
data: '{"terminalid":"00:00:00:00:00:00","mac":"00:00:00:00:00:00","terminaltype":"WEBTV","utcEnable":1,"timezone":"Etc/GMT0","userType":3,"terminalvendor":"Unknown"}',
|
data: '{"terminalid":"00:00:00:00:00:00","mac":"00:00:00:00:00:00","terminaltype":"WEBTV","utcEnable":1,"timezone":"Etc/GMT0","userType":3,"terminalvendor":"Unknown"}'
|
||||||
})
|
})
|
||||||
|
|
||||||
// Extract the cookies specified in cookiesToExtract
|
// Extract the cookies specified in cookiesToExtract
|
||||||
@@ -200,7 +201,6 @@ async function fetchCookieAndToken() {
|
|||||||
|
|
||||||
X_CSRFTOKEN = response.data.csrfToken
|
X_CSRFTOKEN = response.data.csrfToken
|
||||||
Cookie = extractedCookies.join(' ')
|
Cookie = extractedCookies.join(' ')
|
||||||
|
|
||||||
} catch (error) {
|
} catch (error) {
|
||||||
console.error(error)
|
console.error(error)
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user