mirror of
https://github.com/iptv-org/iptv
synced 2026-10-30 14:54:15 -04:00
Create epg.js
This commit is contained in:
1 parent
9afa8ac7ce
commit
4b128659d1
1 file changed
+12
@@ -0,0 +1,12 @@
|
|||||||
|
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)
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
Reference in new issue
Block a user