Rename nhk.or.jp to www3.nhk.or.jp

This commit is contained in:
freearhey 2023-12-03 18:32:43 +03:00
parent 9b63782276
commit 8cf058b7ca
5 changed files with 9 additions and 11 deletions

View file

@ -1,4 +0,0 @@
<?xml version="1.0"?>
<channels>
<channel site="nhk.or.jp" lang="en" xmltv_id="NHKWorldJapan.jp" site_id="0">NHK World-Japan</channel>
</channels>

View file

@ -1,15 +1,15 @@
# nhk.or.jp
# www3.nhk.or.jp
https://www3.nhk.or.jp/nhkworld/ _[Geo-blocked]_
### Download the guide
```sh
npm run grab -- --site=nhk.or.jp
npm run grab -- --site=www3.nhk.or.jp
```
### Test
```sh
npm test -- nhk.or.jp
npm test -- www3.nhk.or.jp
```

View file

@ -0,0 +1,4 @@
<?xml version="1.0"?>
<channels>
<channel site="www3.nhk.or.jp" lang="en" xmltv_id="NHKWorldJapan.jp" site_id="0">NHK World-Japan</channel>
</channels>

View file

@ -1,10 +1,8 @@
const dayjs = require('dayjs')
module.exports = {
site: 'nhk.or.jp',
site: 'www3.nhk.or.jp',
days: 5,
output: 'nhk.or.jp.guide.xml',
channels: 'nhk.or.jp.channels.xml',
lang: 'en',
delay: 5000,

View file

@ -1,4 +1,4 @@
const { url, parser } = require('./nhk.or.jp.config.js')
const { url, parser } = require('./www3.nhk.or.jp.config.js')
const dayjs = require('dayjs')
const utc = require('dayjs/plugin/utc')
dayjs.extend(utc)