Update README.md

This commit is contained in:
Aleksandr Statciuk 2021-09-22 17:11:50 +03:00
parent c58852ef33
commit 287bb4f71b
1 changed files with 0 additions and 27 deletions

View File

@ -114,33 +114,6 @@ module.exports = {
}
```
Also each function can be asynchronous.
```js
module.exports = {
site: 'example.com',
output: 'example.com.guide.xml',
channels: 'example.com.channels.xml',
request: {
async headers() {
return { ... }
},
async data() {
return { ... }
}
},
async url() {
return '...'
},
async logo() {
return '...'
},
async parser() {
return [ ... ]
}
}
```
#### example.com.channels.xml
```xml