mirror of
https://github.com/iptv-org/epg.git
synced 2025-05-10 00:50:09 -04:00
Merge pull request #2106 from iptv-org/fix-tvguide.myjcom.jp
Fix tvguide.myjcom.jp
This commit is contained in:
commit
43098c7b76
2 changed files with 4 additions and 1 deletions
|
@ -10,6 +10,9 @@ dayjs.extend(customParseFormat)
|
|||
|
||||
module.exports = {
|
||||
site: 'tvguide.myjcom.jp',
|
||||
request: {
|
||||
timeout: 30000 // 30 seconds
|
||||
},
|
||||
days: 2,
|
||||
url: function ({ date, channel }) {
|
||||
const id = `${channel.site_id}_${date.format('YYYYMMDD')}`
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
// node ./scripts/channels.js --config=./sites/tvguide.myjcom.jp/tvguide.myjcom.jp.config.js --output=./sites/tvguide.myjcom.jp/tvguide.myjcom.jp.channels.xml
|
||||
// npx epg-grabber --config=sites/tvguide.myjcom.jp/tvguide.myjcom.jp.config.js --channels=sites/tvguide.myjcom.jp/tvguide.myjcom.jp.channels.xml --output=guide.xml --days=2
|
||||
// npx epg-grabber --config=sites/tvguide.myjcom.jp/tvguide.myjcom.jp.config.js --channels=sites/tvguide.myjcom.jp/tvguide.myjcom.jp.channels.xml --output=guide.xml
|
||||
|
||||
const { parser, url } = require('./tvguide.myjcom.jp.config.js')
|
||||
const dayjs = require('dayjs')
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue