3e2bddab82
* 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>
13 lines
231 B
JavaScript
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)
|
|
}
|
|
}
|
|
}
|