Rename myafn.dodmedia.osd.mil to v3.myafn.dodmedia.osd.mil

This commit is contained in:
freearhey 2023-12-03 18:18:42 +03:00
parent 45dd245fd4
commit 70fc6794da
6 changed files with 34 additions and 34 deletions

View file

@ -1,11 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<channels>
<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>
<channel site="myafn.dodmedia.osd.mil" lang="en" xmltv_id="AFNPrimePacific.us" site_id="4">AFN|prime Pacific</channel>
<channel site="myafn.dodmedia.osd.mil" lang="en" xmltv_id="AFNSpectrum.us" site_id="3">AFN|spectrum</channel>
<channel site="myafn.dodmedia.osd.mil" lang="en" xmltv_id="AFNSports2.us" site_id="6">AFN|sports2</channel>
<channel site="myafn.dodmedia.osd.mil" lang="en" xmltv_id="AFNSports.us" site_id="1">AFN|sports</channel>
</channels>

View file

@ -1,21 +0,0 @@
# 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
```

View file

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

View file

@ -0,0 +1,11 @@
<?xml version="1.0" encoding="UTF-8"?>
<channels>
<channel site="v3.myafn.dodmedia.osd.mil" lang="en" xmltv_id="AFNFamily.us" site_id="9">AFN|pulse</channel>
<channel site="v3.myafn.dodmedia.osd.mil" lang="en" xmltv_id="AFNMovie.us" site_id="10">AFN|movie</channel>
<channel site="v3.myafn.dodmedia.osd.mil" lang="en" xmltv_id="AFNNews.us" site_id="5">AFN|news</channel>
<channel site="v3.myafn.dodmedia.osd.mil" lang="en" xmltv_id="AFNPrimeAtlantic.us" site_id="2">AFN|prime Atlantic</channel>
<channel site="v3.myafn.dodmedia.osd.mil" lang="en" xmltv_id="AFNPrimePacific.us" site_id="4">AFN|prime Pacific</channel>
<channel site="v3.myafn.dodmedia.osd.mil" lang="en" xmltv_id="AFNSpectrum.us" site_id="3">AFN|spectrum</channel>
<channel site="v3.myafn.dodmedia.osd.mil" lang="en" xmltv_id="AFNSports2.us" site_id="6">AFN|sports2</channel>
<channel site="v3.myafn.dodmedia.osd.mil" lang="en" xmltv_id="AFNSports.us" site_id="1">AFN|sports</channel>
</channels>

View file

@ -7,7 +7,7 @@ dayjs.extend(customParseFormat)
dayjs.extend(utc)
module.exports = {
site: 'myafn.dodmedia.osd.mil',
site: 'v3.myafn.dodmedia.osd.mil',
days: 2,
request: {
cache: {

View file

@ -1,4 +1,4 @@
const { parser, url } = require('./myafn.dodmedia.osd.mil.config.js')
const { parser, url } = require('./v3.myafn.dodmedia.osd.mil.config.js')
const dayjs = require('dayjs')
const utc = require('dayjs/plugin/utc')
const customParseFormat = require('dayjs/plugin/customParseFormat')