Update web.magentatv.de.config.js

This commit is contained in:
freearhey
2026-04-20 03:54:38 +03:00
parent 9e16837def
commit 2576b9fdec

View File

@@ -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,8 +201,7 @@ 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)
} }
} }