This commit is contained in:
freearhey
2021-03-12 00:07:14 +03:00
parent 448c47cb5c
commit bce76d2fb7
8 changed files with 99 additions and 110 deletions

View File

@@ -5,7 +5,6 @@
<user-agent>Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/79.0.3945.130 Safari/537.36 Edg/79.0.309.71</user-agent>
<days>1</days>
<channel site="tv.yandex.ru" site_id="1hd-99" xmltv_id="1HDMusicTelevision.ru">1 HD Music Television</channel>
<channel site="tv.yandex.ru" site_id="2x2-29" xmltv_id="2x2.ru">2x2</channel>
<!-- <channel site="tv.yandex.ru" site_id="360-95" xmltv_id="360deg.ru">360°</channel>
<channel site="tv.yandex.ru" site_id="365-dney-tv-470" xmltv_id="365dneyTV.ru">365 дней ТВ</channel>

View File

@@ -6,7 +6,7 @@
<days>1</days>
<channel site="tvguide.co.uk" site_id="106" xmltv_id="BBCTwoWales.uk">BBC Two Wales</channel>
<channel site="tvguide.co.uk" site_id="109" xmltv_id="BBCFour.uk">BBC Four</channel>
<!-- <channel site="tvguide.co.uk" site_id="109" xmltv_id="BBCFour.uk">BBC Four</channel> -->
<!-- <channel site="tvguide.co.uk" site_id="112" xmltv_id="BloombergTVUK.us">Bloomberg TV UK</channel>
<channel site="tvguide.co.uk" site_id="113" xmltv_id="BoomerangUK.us">Boomerang UK</channel>
<channel site="tvguide.co.uk" site_id="116" xmltv_id="CartoonNetworkUK.us">Cartoon Network UK</channel>

View File

@@ -26,7 +26,8 @@ module.exports = {
const description = htmlToText(detail.innerHTML)
if (time && title) {
const start = dayjs(time, 'h:mma')
const start = dayjs
.utc(time, 'h:mma')
.set('D', date.get('D'))
.set('M', date.get('M'))
.set('y', date.get('y'))