mirror of
https://github.com/iptv-org/epg.git
synced 2025-05-09 08:30:06 -04:00
Rename nhk.or.jp to www3.nhk.or.jp
This commit is contained in:
parent
9b63782276
commit
8cf058b7ca
5 changed files with 9 additions and 11 deletions
|
@ -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>
|
|
@ -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
|
||||
```
|
4
sites/www3.nhk.or.jp/www3.nhk.or.jp.channels.xml
Normal file
4
sites/www3.nhk.or.jp/www3.nhk.or.jp.channels.xml
Normal 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>
|
|
@ -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,
|
||||
|
|
@ -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)
|
Loading…
Add table
Add a link
Reference in a new issue