Update directv.com.config.js
This commit is contained in:
1 parent
84fc15f07c
commit
81f0982bdc
1 file changed
+6
-2
@@ -37,9 +37,13 @@ module.exports = {
|
||||
|
||||
return programs
|
||||
},
|
||||
async channels({ country }) {
|
||||
async channels({ zip }) {
|
||||
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)
|
||||
.catch(console.log)
|
||||
|
||||
|
||||
Reference in new issue
Block a user