mirror of
https://github.com/iptv-org/epg.git
synced 2025-05-10 09:00:07 -04:00
Update directv.com.config.js
This commit is contained in:
parent
84fc15f07c
commit
81f0982bdc
1 changed files with 6 additions and 2 deletions
|
@ -37,9 +37,13 @@ module.exports = {
|
||||||
|
|
||||||
return programs
|
return programs
|
||||||
},
|
},
|
||||||
async channels({ country }) {
|
async channels({ zip }) {
|
||||||
const html = await axios
|
const html = await axios
|
||||||
.get(`https://www.directv.com/guide`)
|
.get(`https://www.directv.com/guide`, {
|
||||||
|
headers: {
|
||||||
|
cookie: `dtve-prospect-zip=${zip}`
|
||||||
|
}
|
||||||
|
})
|
||||||
.then(r => r.data)
|
.then(r => r.data)
|
||||||
.catch(console.log)
|
.catch(console.log)
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue