iptv/scripts/helpers/epg.js
iptv-bot[bot] 3e2bddab82
[Bot] Update playlists (#4600)
* Update Playlist.js

* Install axios package

* Create epg.js

* Update db.js

* Update format.js

* Update Channel.js

* Update db.js

* Update generate.js

* [Bot] Format playlists

* [Bot] Remove duplicates

* [Bot] Sort channels

* [Bot] Update README.md

* [Bot] Format playlists

* [Bot] Remove duplicates

* [Bot] Sort channels

* [Bot] Update README.md

Co-authored-by: Aleksandr Statciuk <free.arhey@gmail.com>
Co-authored-by: iptv-bot[bot] <84861620+iptv-bot[bot]@users.noreply.github.com>
2021-09-17 13:29:47 +00:00

13 lines
231 B
JavaScript

const axios = require('axios')
module.exports = {
codes: {
async load() {
return await axios
.get('https://iptv-org.github.io/epg/codes.json')
.then(r => r.data)
.catch(console.log)
}
}
}