This commit is contained in:
freearhey
2021-03-13 16:17:38 +03:00
parent 980019968e
commit ea1d9b7370
11 changed files with 79 additions and 2766 deletions

View File

@@ -2,7 +2,7 @@
<site site="ontvtonight.com">
<channels>
<channel site_id="1096580425/forces-tv" xmltv_id="ForcesTV.uk">Forces TV</channel>
<channel site_id="1207930957/itvbe" xmltv_id="ITVBe.uk">ITVBe</channel>
<!-- <channel site_id="1207930957/itvbe" xmltv_id="ITVBe.uk">ITVBe</channel>
<channel site_id="1354276817/itvbe-1" xmltv_id="ITVBePlus1.uk">ITVBe +1</channel>
<channel site_id="1632302783/talking-pictures-tv" xmltv_id="TalkingPicturesTV.uk">Talking Pictures TV</channel>
<channel site_id="1652397656/jewellery-channel" xmltv_id="TJC.uk">TJC</channel>
@@ -98,6 +98,6 @@
<channel site_id="863385169/discovery-dmax-uk" xmltv_id="DMAXUK.us">DMAX UK</channel>
<channel site_id="9161340916/court-tv" xmltv_id="CourtTVUK.us">Court TV UK</channel>
<channel site_id="937022419/5select" xmltv_id="5Select.uk">5 Select</channel>
<channel site_id="950961703/london-live" xmltv_id="LondonLive.uk">London Live</channel>
<channel site_id="950961703/london-live" xmltv_id="LondonLive.uk">London Live</channel> -->
</channels>
</site>

View File

@@ -1,12 +1,16 @@
const jsdom = require('jsdom')
const { JSDOM } = jsdom
const dayjs = require('dayjs')
const utc = require('dayjs/plugin/utc')
var customParseFormat = require('dayjs/plugin/customParseFormat')
dayjs.extend(utc)
dayjs.extend(customParseFormat)
module.exports = {
lang: 'en',
site: 'ontvtonight.com',
channels: 'ontvtonight.com.channels.xml',
output: '.gh-pages/guides/ontvtonight.com.xml',
url: function ({ date, channel }) {
return `https://www.ontvtonight.com/uk/guide/listings/channel/${

View File

@@ -2,7 +2,7 @@
<site site="programme-tv.net">
<channels>
<channel site_id="13eme-rue-26" xmltv_id="13emeRue.fr">13ème Rue</channel>
<channel site_id="6ter-202" xmltv_id="6ter.fr">6ter</channel>
<!-- <channel site_id="6ter-202" xmltv_id="6ter.fr">6ter</channel>
<channel site_id="8-mont-blanc-385" xmltv_id="8MontBlanc.fr">8 Mont-Blanc</channel>
<channel site_id="ab-1-31" xmltv_id="AB1.fr">AB 1</channel>
<channel site_id="ab-3-138" xmltv_id="AB3.fr">AB 3</channel>
@@ -264,6 +264,6 @@
<channel site_id="warner-tv-403" xmltv_id="WarnerTVFrance.us">Warner TV France</channel>
<channel site_id="weo-394" xmltv_id="Weo.fr">Wéo</channel>
<channel site_id="xxl-135" xmltv_id="XXL.fr">XXL</channel>
<channel site_id="zdf-193" xmltv_id="ZDF.de">ZDF</channel>
<channel site_id="zdf-193" xmltv_id="ZDF.de">ZDF</channel> -->
</channels>
</site>

View File

@@ -2,14 +2,18 @@ const jsdom = require('jsdom')
const { JSDOM } = jsdom
const parseDuration = require('parse-duration')
const dayjs = require('dayjs')
const customParseFormat = require('dayjs/plugin/customParseFormat')
const utc = require('dayjs/plugin/utc')
const duration = require('dayjs/plugin/duration')
const customParseFormat = require('dayjs/plugin/customParseFormat')
dayjs.extend(utc)
dayjs.extend(duration)
dayjs.extend(customParseFormat)
module.exports = {
lang: 'fr',
site: 'programme-tv.net',
channels: 'programme-tv.net.channels.xml',
output: '.gh-pages/guides/programme-tv.net.xml',
url: function ({ date, channel }) {
return `https://www.programme-tv.net/programme/chaine/${date.format('YYYY-MM-DD')}/programme-${

View File

@@ -1,6 +1,7 @@
module.exports = {
lang: 'ru',
site: 'tv.yandex.ru',
channels: 'tv.yandex.ru.channels.xml',
output: '.gh-pages/guides/tv.yandex.ru.xml',
cookie:
'yandexuid=8747786251615498142; Expires=Tue, 11 Mar 2031 21:29:02 GMT; Domain=yandex.ru; Path=/',

View File

@@ -2,7 +2,7 @@
<site site="tvguide.co.uk">
<channels>
<channel site_id="106" xmltv_id="BBCTwoWales.uk">BBC Two Wales</channel>
<channel site_id="109" xmltv_id="BBCFour.uk">BBC Four</channel>
<!-- <channel site_id="109" xmltv_id="BBCFour.uk">BBC Four</channel>
<channel site_id="112" xmltv_id="BloombergTVUK.us">Bloomberg TV UK</channel>
<channel site_id="113" xmltv_id="BoomerangUK.us">Boomerang UK</channel>
<channel site_id="116" xmltv_id="CartoonNetworkUK.us">Cartoon Network UK</channel>
@@ -248,6 +248,6 @@
<channel site_id="984" xmltv_id="AMC.us">AMC</channel>
<channel site_id="99" xmltv_id="BBCTwoNorthernIreland.uk">BBC Two Northern Ireland</channel>
<channel site_id="993" xmltv_id="SonyMoviesClassic.us">Sony Movies Classic</channel>
<channel site_id="996" xmltv_id="NottsTV.uk">Notts TV</channel>
<channel site_id="996" xmltv_id="NottsTV.uk">Notts TV</channel> -->
</channels>
</site>

View File

@@ -2,12 +2,16 @@ const jsdom = require('jsdom')
const { JSDOM } = jsdom
const { htmlToText } = require('html-to-text')
const dayjs = require('dayjs')
var customParseFormat = require('dayjs/plugin/customParseFormat')
const utc = require('dayjs/plugin/utc')
const customParseFormat = require('dayjs/plugin/customParseFormat')
dayjs.extend(utc)
dayjs.extend(customParseFormat)
module.exports = {
lang: 'en',
site: 'tvguide.co.uk',
channels: 'tvguide.co.uk.channels.xml',
output: '.gh-pages/guides/tvguide.co.uk.xml',
url: function ({ date, channel }) {
return `https://www.tvguide.co.uk/mobile/channellisting.asp?ch=${channel.site_id}`