Update mytvsuper.com

This commit is contained in:
freearhey 2023-12-03 18:27:16 +03:00
parent 71d4eb3555
commit 7a4f22490b
4 changed files with 43 additions and 8 deletions

View file

@ -1,7 +1,3 @@
// npm run channels:parse -- --config=./sites/mytvsuper.com/mytvsuper.com.config.js --output=./sites/mytvsuper.com/mytvsuper.com_en.channels.xml --set=lang:en
// npm run channels:parse -- --config=./sites/mytvsuper.com/mytvsuper.com.config.js --output=./sites/mytvsuper.com/mytvsuper.com_zh.channels.xml --set=lang:zh
// npm run grab -- --site=mytvsuper.com --lang=zh
const { parser, url } = require('./mytvsuper.com.config.js')
const fs = require('fs')
const path = require('path')

View file

@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<channels>
<!-- <channel site="mytvsuper.com" lang="en" xmltv_id="" site_id="FBX">FashionBox</channel>
<channel site="mytvsuper.com" lang="en" xmltv_id="" site_id="TVO">Golden Chinese Drama</channel> -->
<channel site="mytvsuper.com" lang="en" xmltv_id="" site_id="FBX">FashionBox</channel>
<channel site="mytvsuper.com" lang="en" xmltv_id="" site_id="TVO">Golden Chinese Drama</channel>
<channel site="mytvsuper.com" lang="en" xmltv_id="AlJazeeraEnglish.qa" site_id="CJAZ">Al Jazeera English</channel>
<channel site="mytvsuper.com" lang="en" xmltv_id="Animax.hk" site_id="CANI">Animax</channel>
<channel site="mytvsuper.com" lang="en" xmltv_id="ArirangTV.kr" site_id="CARI">Arirang TV</channel>

View file

@ -1,12 +1,12 @@
<?xml version="1.0" encoding="UTF-8"?>
<channels>
<!-- <channel site="mytvsuper.com" lang="zh" xmltv_id="" site_id="CARI">Arirang TV</channel>
<channel site="mytvsuper.com" lang="zh" xmltv_id="" site_id="CARI">Arirang TV</channel>
<channel site="mytvsuper.com" lang="zh" xmltv_id="" site_id="CCNA">亞洲新聞台</channel>
<channel site="mytvsuper.com" lang="zh" xmltv_id="" site_id="CDW1">DW</channel>
<channel site="mytvsuper.com" lang="zh" xmltv_id="" site_id="CNIJR">Nick Jr</channel>
<channel site="mytvsuper.com" lang="zh" xmltv_id="" site_id="DTV">東方衛視國際頻道</channel>
<channel site="mytvsuper.com" lang="zh" xmltv_id="" site_id="FBX">FashionBox</channel>
<channel site="mytvsuper.com" lang="zh" xmltv_id="" site_id="TVO">黃金華劇台</channel> -->
<channel site="mytvsuper.com" lang="zh" xmltv_id="" site_id="TVO">黃金華劇台</channel>
<channel site="mytvsuper.com" lang="zh" xmltv_id="AlJazeeraEnglish.qa" site_id="CJAZ">半島電視台英語頻道</channel>
<channel site="mytvsuper.com" lang="zh" xmltv_id="Animax.hk" site_id="CANI">Animax</channel>
<channel site="mytvsuper.com" lang="zh" xmltv_id="AsianDrama.hk" site_id="CTVS">亞洲劇台</channel>

View file

@ -0,0 +1,39 @@
# mytvsuper.com
https://www.mytvsuper.com/tc/epg/ (Chinese)
https://www.mytvsuper.com/en/epg/ (English)
### Download the guide
Chinese:
```sh
npm run grab -- --site=mytvsuper.com --lang=zh
```
English:
```sh
npm run grab -- --site=mytvsuper.com --lang=en
```
### Update channel list
Chinese:
```sh
npm run channels:parse -- --config=./sites/mytvsuper.com/mytvsuper.com.config.js --output=./sites/mytvsuper.com/mytvsuper.com_zh.channels.xml --set=lang:zh
```
English:
```sh
npm run channels:parse -- --config=./sites/mytvsuper.com/mytvsuper.com.config.js --output=./sites/mytvsuper.com/mytvsuper.com_en.channels.xml --set=lang:en
```
### Test
```sh
npm test -- mytvsuper.com
```