Update directv.com.ar

This commit is contained in:
Mauricio Morales
2023-07-25 00:11:26 -03:00
parent 3a119500bd
commit 4a916591c7
2 changed files with 432 additions and 171 deletions

View File

@@ -16,8 +16,20 @@ module.exports = {
request: {
method: 'POST',
headers: {
'Cookie': 'PGCSS=16; PGLang=S; PGCulture=es-AR;',
'Accept': '*/*',
'Accept-Language': 'es-419,es;q=0.9',
'Connection': 'keep-alive',
'Content-Type': 'application/json; charset=UTF-8',
Cookie: 'PGCSS=16; PGLang=S; PGCulture=es-AR;'
'Origin': 'https://www.directv.com.ar',
'Referer': 'https://www.directv.com.ar/guia/ChannelDetail.aspx?id=1740&name=TLCHD',
'Sec-Fetch-Dest': 'empty',
'Sec-Fetch-Mode': 'cors',
'Sec-Fetch-Site': 'same-origin',
'User-Agent': 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/114.0.0.0 Safari/537.36',
'sec-ch-ua': '"Not.A/Brand";v="8", "Chromium";v="114", "Google Chrome";v="114"',
'sec-ch-ua-mobile': '?0',
'sec-ch-ua-platform': '"Windows"'
},
data({ channel, date }) {
const [channelNum, channelName] = channel.site_id.split('#')
@@ -30,6 +42,7 @@ module.exports = {
month: date.month() + 1,
year: date.year(),
offSetValue: 0,
homeScreenFilter: '',
filtersScreenFilters: [''],
isHd: '',
isChannelDetails: 'Y',