epg-grabber/tests/input/example.com.config.js

19 lines
442 B
JavaScript
Raw Normal View History

2021-03-19 20:17:07 +01:00
module.exports = {
site: 'example.com',
channels: 'example.com.channels.xml',
2021-09-15 10:20:00 +02:00
output: 'tests/output/guide.xml',
2021-03-19 20:17:07 +01:00
url: () => 'http://example.com/20210319/1tv.json',
request: {
method: 'POST',
headers: {
'Content-Type': 'application/json',
Cookie: 'abc=123'
},
data() {
return { accountID: '123' }
}
},
2021-03-19 20:28:52 +01:00
parser: () => [],
2021-04-26 14:47:07 +02:00
logo: () => 'http://example.com/logos/1TV.png?x=шеллы&sid=777'
2021-03-19 20:17:07 +01:00
}