Update myafn.dodmedia.osd.mil

This commit is contained in:
freearhey 2023-12-03 18:17:19 +03:00
parent 6421117285
commit 45dd245fd4
3 changed files with 22 additions and 4 deletions

View file

@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<channels>
<channel site="myafn.dodmedia.osd.mil" lang="en" xmltv_id="AFNFamily.us" site_id="9">AFN|family;AFN|pulse</channel>
<channel site="myafn.dodmedia.osd.mil" lang="en" xmltv_id="AFNFamily.us" site_id="9">AFN|pulse</channel>
<channel site="myafn.dodmedia.osd.mil" lang="en" xmltv_id="AFNMovie.us" site_id="10">AFN|movie</channel>
<channel site="myafn.dodmedia.osd.mil" lang="en" xmltv_id="AFNNews.us" site_id="5">AFN|news</channel>
<channel site="myafn.dodmedia.osd.mil" lang="en" xmltv_id="AFNPrimeAtlantic.us" site_id="2">AFN|prime Atlantic</channel>

View file

@ -1,6 +1,3 @@
// npm run channels:parse -- --config=./sites/myafn.dodmedia.osd.mil/myafn.dodmedia.osd.mil.config.js --output=./sites/myafn.dodmedia.osd.mil/myafn.dodmedia.osd.mil.channels.xml
// npm run grab -- --site=myafn.dodmedia.osd.mil
const { parser, url } = require('./myafn.dodmedia.osd.mil.config.js')
const dayjs = require('dayjs')
const utc = require('dayjs/plugin/utc')

View file

@ -0,0 +1,21 @@
# myafn.dodmedia.osd.mil
https://v3.myafn.dodmedia.osd.mil/
### Download the guide
```sh
npm run grab -- --site=myafn.dodmedia.osd.mil
```
### Update channel list
```sh
npm run channels:parse -- --config=./sites/myafn.dodmedia.osd.mil/myafn.dodmedia.osd.mil.config.js --output=./sites/myafn.dodmedia.osd.mil/myafn.dodmedia.osd.mil.channels.xml
```
### Test
```sh
npm test -- myafn.dodmedia.osd.mil
```