mirror of
https://github.com/iptv-org/epg.git
synced 2025-05-10 00:50:09 -04:00
Merge pull request #2596 from iptv-org/delete-hd-plus.de
Delete hd-plus.de
This commit is contained in:
commit
65331dff1c
4 changed files with 0 additions and 249 deletions
|
@ -1,123 +0,0 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<channels>
|
||||
<channel site="hd-plus.de" lang="de" xmltv_id="123tv.de" site_id="1-2-3-tv-hd">1-2-3 TV</channel>
|
||||
<channel site="hd-plus.de" lang="de" xmltv_id="13thStreetUniversal.de" site_id="13th-street-hd">13th Street Deutschland</channel>
|
||||
<channel site="hd-plus.de" lang="de" xmltv_id="3sat.de" site_id="3sat-hd">3sat</channel>
|
||||
<channel site="hd-plus.de" lang="de" xmltv_id="AnixeHDSerie.de" site_id="anixe-hd">Anixe HD Serie</channel>
|
||||
<channel site="hd-plus.de" lang="de" xmltv_id="ARDalpha.de" site_id="ard-alpha">ARD Alpha</channel>
|
||||
<channel site="hd-plus.de" lang="de" xmltv_id="arte.de" site_id="arte-hd">ARTE Deutsch</channel>
|
||||
<channel site="hd-plus.de" lang="de" xmltv_id="AstroTV.de" site_id="astrotv">AstroTV</channel>
|
||||
<channel site="hd-plus.de" lang="de" xmltv_id="ATV.at" site_id="atv-hd">ATV</channel>
|
||||
<channel site="hd-plus.de" lang="de" xmltv_id="ATV2.at" site_id="atv2">ATV 2</channel>
|
||||
<channel site="hd-plus.de" lang="de" xmltv_id="AugsburgTV.de" site_id="a-tv">Augsburg TV</channel>
|
||||
<channel site="hd-plus.de" lang="de" xmltv_id="BibelTV.de" site_id="bibel-tv-hd">Bibel TV</channel>
|
||||
<channel site="hd-plus.de" lang="de" xmltv_id="BloombergTVEurope.uk" site_id="bloomberg-tv-europe">Bloomberg TV Europe</channel>
|
||||
<channel site="hd-plus.de" lang="de" xmltv_id="Boomerang.de" site_id="boomerang">Boomerang Deutschland</channel>
|
||||
<channel site="hd-plus.de" lang="de" xmltv_id="BRFernsehenNord.de" site_id="bayerisches-fernsehen-hd">Bayerisches Fernsehen Nord</channel>
|
||||
<channel site="hd-plus.de" lang="de" xmltv_id="CartoonNetwork.de" site_id="cartoon-network">Cartoon Network Deutschland</channel>
|
||||
<channel site="hd-plus.de" lang="de" xmltv_id="Channel21.de" site_id="channel-21">Channel 21</channel>
|
||||
<channel site="hd-plus.de" lang="de" xmltv_id="ComedyCentral.de" site_id="comedy-central">Comedy Central Deutschland</channel>
|
||||
<channel site="hd-plus.de" lang="de" xmltv_id="DasErste.de" site_id="das-erste-hd">Das Erste</channel>
|
||||
<channel site="hd-plus.de" lang="de" xmltv_id="DeluxeMusic.de" site_id="deluxe-music-hd">Deluxe Music</channel>
|
||||
<channel site="hd-plus.de" lang="de" xmltv_id="DeutschesMusikFernsehen.de" site_id="deutsches-musik-fernsehen">Deutsches Musik Fernsehen</channel>
|
||||
<channel site="hd-plus.de" lang="de" xmltv_id="DieNeueZeitTV.ch" site_id="die-neue-zeit-tv">Die Neue Zeit TV</channel>
|
||||
<channel site="hd-plus.de" lang="de" xmltv_id="DiscoveryChannel.de" site_id="discovery-channel-hd">Discovery Channel Deutschland</channel>
|
||||
<channel site="hd-plus.de" lang="de" xmltv_id="DisneyChannel.de" site_id="disney-channel-hd">Disney Channel Deutschland</channel>
|
||||
<channel site="hd-plus.de" lang="de" xmltv_id="DMAX.de" site_id="dmax-hd">DMAX Deutschland</channel>
|
||||
<channel site="hd-plus.de" lang="de" xmltv_id="EEurope.nl" site_id="e-entertainment-hd">E! Europe</channel>
|
||||
<channel site="hd-plus.de" lang="de" xmltv_id="EuronewsGerman.fr" site_id="euronews">EuroNews Deutsch</channel>
|
||||
<channel site="hd-plus.de" lang="de" xmltv_id="Eurosport1.de" site_id="eurosport-hd">Eurosport 1 Germany</channel>
|
||||
<channel site="hd-plus.de" lang="de" xmltv_id="EWTN.de" site_id="ewtn">EWTN auf Deutsch</channel>
|
||||
<channel site="hd-plus.de" lang="de" xmltv_id="FrankenFernsehen.de" site_id="franken-fernsehen">Franken Fernsehen</channel>
|
||||
<channel site="hd-plus.de" lang="de" xmltv_id="GoTV.at" site_id="gotv">GoTV</channel>
|
||||
<channel site="hd-plus.de" lang="de" xmltv_id="Heimatkanal.de" site_id="heimatkanal">Heimatkanal</channel>
|
||||
<channel site="hd-plus.de" lang="de" xmltv_id="History.de" site_id="history-hd">History Deutschland</channel>
|
||||
<channel site="hd-plus.de" lang="de" xmltv_id="HopeChannelGerman.de" site_id="hope-channel">Hope TV Deutsch</channel>
|
||||
<channel site="hd-plus.de" lang="de" xmltv_id="hrfernsehen.de" site_id="hr-fernsehen-hd">HR Fernsehen</channel>
|
||||
<channel site="hd-plus.de" lang="de" xmltv_id="HSE.de" site_id="hse24-hd">HSE</channel>
|
||||
<channel site="hd-plus.de" lang="de" xmltv_id="HSEExtra.de" site_id="hse24-extra-hd">HSE Extra</channel>
|
||||
<channel site="hd-plus.de" lang="de" xmltv_id="JMLDirectTV.uk" site_id="jml">JML Direct</channel>
|
||||
<channel site="hd-plus.de" lang="de" xmltv_id="Junior.de" site_id="junior">Junior</channel>
|
||||
<channel site="hd-plus.de" lang="de" xmltv_id="Juwelo.de" site_id="juwelo-hd">Juwelo</channel>
|
||||
<channel site="hd-plus.de" lang="de" xmltv_id="kabeleins.de" site_id="kabel-eins-hd">Kabel Eins Deutschland</channel>
|
||||
<channel site="hd-plus.de" lang="de" xmltv_id="kabeleinsClassics.de" site_id="kabel-eins-classics">Kabel Eins Classics</channel>
|
||||
<channel site="hd-plus.de" lang="de" xmltv_id="KiKA.de" site_id="kika-hd">KIKA</channel>
|
||||
<channel site="hd-plus.de" lang="de" xmltv_id="KinoweltTV.de" site_id="kinowelt-tv">Kinowelt TV</channel>
|
||||
<channel site="hd-plus.de" lang="de" xmltv_id="KTV.at" site_id="k-tv">K-TV</channel>
|
||||
<channel site="hd-plus.de" lang="de" xmltv_id="LTV.de" site_id="l-tv">L TV</channel>
|
||||
<channel site="hd-plus.de" lang="de" xmltv_id="Motorvision.de" site_id="motorvision-tv">Motorvision TV</channel>
|
||||
<channel site="hd-plus.de" lang="de" xmltv_id="MTV.de" site_id="mtv-hd">MTV Germany</channel>
|
||||
<channel site="hd-plus.de" lang="de" xmltv_id="MTVHitsEurope.uk" site_id="mtv-hits">MTV Hits Europe</channel>
|
||||
<channel site="hd-plus.de" lang="de" xmltv_id="MTVLive.uk" site_id="mtv-live-hd">MTV Live HD</channel>
|
||||
<channel site="hd-plus.de" lang="de" xmltv_id="MunchenTV.de" site_id="muenchen-tv">München TV</channel>
|
||||
<channel site="hd-plus.de" lang="de" xmltv_id="NationalGeographic.de" site_id="nat-geo-hd">National Geographic Deutschland</channel>
|
||||
<channel site="hd-plus.de" lang="de" xmltv_id="NationalGeographicWild.de" site_id="nat-geo-wild-hd">National Geographic Wild Deutschland</channel>
|
||||
<channel site="hd-plus.de" lang="de" xmltv_id="Nitro.de" site_id="rtl-nitro-hd">Nitro Deutschland</channel>
|
||||
<channel site="hd-plus.de" lang="de" xmltv_id="NPO1.nl" site_id="nl-1">NPO 1</channel>
|
||||
<channel site="hd-plus.de" lang="de" xmltv_id="NPO2.nl" site_id="nl-2">NPO 2</channel>
|
||||
<channel site="hd-plus.de" lang="de" xmltv_id="ntv.de" site_id="n-tv-hd">N-TV</channel>
|
||||
<channel site="hd-plus.de" lang="de" xmltv_id="One.de" site_id="one-hd">One</channel>
|
||||
<channel site="hd-plus.de" lang="de" xmltv_id="ORF1.at" site_id="orf-eins-hd">ORF 1</channel>
|
||||
<channel site="hd-plus.de" lang="de" xmltv_id="ORF2.at" site_id="orf2">ORF 2</channel>
|
||||
<channel site="hd-plus.de" lang="de" xmltv_id="ORFIII.at" site_id="orf-iii-hd">ORF III</channel>
|
||||
<channel site="hd-plus.de" lang="de" xmltv_id="ORFSportPlus.at" site_id="orf-sport-plus-hd">ORF Sport +</channel>
|
||||
<channel site="hd-plus.de" lang="de" xmltv_id="PearlTV.de" site_id="pearl-tv-hd">Pearl TV</channel>
|
||||
<channel site="hd-plus.de" lang="de" xmltv_id="phoenix.de" site_id="phoenix-hd">Phoenix</channel>
|
||||
<channel site="hd-plus.de" lang="de" xmltv_id="ProSieben.de" site_id="prosieben-hd">ProSieben Deutschland</channel>
|
||||
<channel site="hd-plus.de" lang="de" xmltv_id="ProSiebenMaxx.de" site_id="prosieben-maxx-hd">ProSieben Maxx Deutschland</channel>
|
||||
<channel site="hd-plus.de" lang="de" xmltv_id="Puls4.at" site_id="puls-4-hd">Puls 4</channel>
|
||||
<channel site="hd-plus.de" lang="de" xmltv_id="QVCZweiHD.de" site_id="qvc-plus-hd">QVC Zwei</channel>
|
||||
<channel site="hd-plus.de" lang="de" xmltv_id="QVC.de" site_id="qvc-hd">QVC Deutschland</channel>
|
||||
<channel site="hd-plus.de" lang="de" xmltv_id="RFO.de" site_id="rfo">RFO</channel>
|
||||
<channel site="hd-plus.de" lang="de" xmltv_id="RheinMainTV.de" site_id="rhein-main-tv">RheinMain TV</channel>
|
||||
<channel site="hd-plus.de" lang="de" xmltv_id="RiC.de" site_id="ric">RiC</channel>
|
||||
<channel site="hd-plus.de" lang="de" xmltv_id="RomanceTV.de" site_id="romance-tv">Romance TV Deutschland</channel>
|
||||
<channel site="hd-plus.de" lang="de" xmltv_id="RTLCrime.de" site_id="rtl-crime-hd">RTL Crime Deutschland</channel>
|
||||
<channel site="hd-plus.de" lang="de" xmltv_id="RTL.de" site_id="rtl-hd">RTL Deutschland</channel>
|
||||
<channel site="hd-plus.de" lang="de" xmltv_id="RTLLiving.de" site_id="rtl-living">RTL Living Deutschland</channel>
|
||||
<channel site="hd-plus.de" lang="de" xmltv_id="RTLZwei.de" site_id="rtl-ii-hd">RTL Zwei Deutschland</channel>
|
||||
<channel site="hd-plus.de" lang="de" xmltv_id="SAT1.de" site_id="sat-1-hd">Sat. 1 Deutschland</channel>
|
||||
<channel site="hd-plus.de" lang="de" xmltv_id="SAT1emotions.de" site_id="sat-1-emotions">Sat. 1 Emotions</channel>
|
||||
<channel site="hd-plus.de" lang="de" xmltv_id="SAT1Gold.de" site_id="sat-1-gold-hd">Sat. 1 Gold Deutschland</channel>
|
||||
<channel site="hd-plus.de" lang="de" xmltv_id="ServusTVDeutschland.de" site_id="servustv-hd-deutschland">Servus TV Deutschland</channel>
|
||||
<channel site="hd-plus.de" lang="de" xmltv_id="sixx.de" site_id="sixx-hd">Sixx Deutschland</channel>
|
||||
<channel site="hd-plus.de" lang="de" xmltv_id="SkyAtlantic.de" site_id="sky-atlantic-hd">Sky Atlantic</channel>
|
||||
<channel site="hd-plus.de" lang="de" xmltv_id="SkyCinemaAction.de" site_id="sky-action-hd">Sky Cinema Action</channel>
|
||||
<channel site="hd-plus.de" lang="de" xmltv_id="SkyCinemaBestOf.de" site_id="sky-hits-hd">Sky Cinema Hits</channel>
|
||||
<channel site="hd-plus.de" lang="de" xmltv_id="SkyCinemaSpecial.de" site_id="sky-nostalgie">Sky Cinema Nostalgie</channel>
|
||||
<channel site="hd-plus.de" lang="de" xmltv_id="SkyComedy.de" site_id="sky-comedy">Sky Comedy</channel>
|
||||
<channel site="hd-plus.de" lang="de" xmltv_id="SkyKrimi.de" site_id="sky-krimi">Sky Krimi</channel>
|
||||
<channel site="hd-plus.de" lang="de" xmltv_id="SkySport1.de" site_id="sky-sport-hd-1">Sky Sport 1</channel>
|
||||
<channel site="hd-plus.de" lang="de" xmltv_id="SkySport2.de" site_id="sky-sport-hd-2">Sky Sport 2</channel>
|
||||
<channel site="hd-plus.de" lang="de" xmltv_id="SkySportAustria1.at" site_id="sky-sport-austria-hd">Sky Sport Austria 1</channel>
|
||||
<channel site="hd-plus.de" lang="de" xmltv_id="SkySportBundesliga1.de" site_id="sky-bundesliga-hd-1">Sky Sport Bundesliga 1</channel>
|
||||
<channel site="hd-plus.de" lang="de" xmltv_id="SkySportBundesliga2.de" site_id="sky-bundesliga-hd-2">Sky Sport Bundesliga 2</channel>
|
||||
<channel site="hd-plus.de" lang="de" xmltv_id="SkySportBundesliga3.de" site_id="sky-bundesliga-hd-3">Sky Sport Bundesliga 3</channel>
|
||||
<channel site="hd-plus.de" lang="de" xmltv_id="SkySportBundesliga4.de" site_id="sky-bundesliga-hd-4">Sky Sport Bundesliga 4</channel>
|
||||
<channel site="hd-plus.de" lang="de" xmltv_id="SkySportNews.de" site_id="sky-sport-news-hd">Sky Sport News</channel>
|
||||
<channel site="hd-plus.de" lang="de" xmltv_id="SonnenklarTV.de" site_id="sonnenklar-tv-hd">Sonnenklar TV</channel>
|
||||
<channel site="hd-plus.de" lang="de" xmltv_id="AXNBlack.de" site_id="axn-hd">Sony AXN</channel>
|
||||
<channel site="hd-plus.de" lang="de" xmltv_id="Sport1.de" site_id="sport1-hd">Sport 1</channel>
|
||||
<channel site="hd-plus.de" lang="de" xmltv_id="Sport1Plus.de" site_id="sport1-plus-hd">Sport 1+</channel>
|
||||
<channel site="hd-plus.de" lang="de" xmltv_id="SportdigitalFUSSBALL.de" site_id="sportdigital">Sportdigital Fussball</channel>
|
||||
<channel site="hd-plus.de" lang="de" xmltv_id="SRF1.ch" site_id="srf-1-hd">SRF 1</channel>
|
||||
<channel site="hd-plus.de" lang="de" xmltv_id="SRFernsehen.de" site_id="sr-fernsehen-hd">SR Fernsehen</channel>
|
||||
<channel site="hd-plus.de" lang="de" xmltv_id="SRFzwei.ch" site_id="srf-zwei-hd">SRF Zwei</channel>
|
||||
<channel site="hd-plus.de" lang="de" xmltv_id="StingrayClassica.ca" site_id="classica">Stingray Classica</channel>
|
||||
<channel site="hd-plus.de" lang="de" xmltv_id="RTLSuper.de" site_id="super-rtl-hd">Super RTL Deutschland</channel>
|
||||
<channel site="hd-plus.de" lang="de" xmltv_id="SYFY.de" site_id="syfy-hd">Syfy Deutschland</channel>
|
||||
<channel site="hd-plus.de" lang="de" xmltv_id="tagesschau24.de" site_id="tagesschau24-hd">Tagesschau 24</channel>
|
||||
<channel site="hd-plus.de" lang="de" xmltv_id="TELE5.de" site_id="tele-5-hd">Tele 5</channel>
|
||||
<channel site="hd-plus.de" lang="de" xmltv_id="TLC.de" site_id="tlc-hd">TLC Germany</channel>
|
||||
<channel site="hd-plus.de" lang="de" xmltv_id="WarnerTVFilm.de" site_id="tnt-film">TNT Film</channel>
|
||||
<channel site="hd-plus.de" lang="de" xmltv_id="WarnerTVSerieHD.de" site_id="tnt-serie-hd">TNT Serie</channel>
|
||||
<channel site="hd-plus.de" lang="de" xmltv_id="TVA.de" site_id="tva-ostbayern">TVA Ostbayern</channel>
|
||||
<channel site="hd-plus.de" lang="de" xmltv_id="TVOberfranken.de" site_id="tv-oberfranken">TV Oberfranken</channel>
|
||||
<channel site="hd-plus.de" lang="de" xmltv_id="UniversalTV.de" site_id="universal-channel-hd">Universal TV Deutschland</channel>
|
||||
<channel site="hd-plus.de" lang="de" xmltv_id="VOX.de" site_id="vox-hd">Vox Deutschland</channel>
|
||||
<channel site="hd-plus.de" lang="de" xmltv_id="WELT.de" site_id="n24-hd">Welt</channel>
|
||||
<channel site="hd-plus.de" lang="de" xmltv_id="WeltderWunderTV.de" site_id="welt-der-wunder-tv">Welt der Wunder TV</channel>
|
||||
<channel site="hd-plus.de" lang="de" xmltv_id="ZDF.de" site_id="zdf-hd">ZDF</channel>
|
||||
<channel site="hd-plus.de" lang="de" xmltv_id="ZDFinfo.de" site_id="zdfinfo-hd">ZDF Info</channel>
|
||||
<channel site="hd-plus.de" lang="de" xmltv_id="ZDFneo.de" site_id="zdfneo-hd">ZDF Neo</channel>
|
||||
</channels>
|
|
@ -1,57 +0,0 @@
|
|||
const cheerio = require('cheerio')
|
||||
const dayjs = require('dayjs')
|
||||
const utc = require('dayjs/plugin/utc')
|
||||
const timezone = require('dayjs/plugin/timezone')
|
||||
const customParseFormat = require('dayjs/plugin/customParseFormat')
|
||||
|
||||
dayjs.extend(utc)
|
||||
dayjs.extend(timezone)
|
||||
dayjs.extend(customParseFormat)
|
||||
|
||||
module.exports = {
|
||||
site: 'hd-plus.de',
|
||||
days: 2,
|
||||
url({ date, channel }) {
|
||||
const today = dayjs().utc().startOf('d')
|
||||
const day = date.diff(today, 'd')
|
||||
|
||||
return `https://www.hd-plus.de/epg/channel/${channel.site_id}?d=${day}`
|
||||
},
|
||||
parser({ content, date }) {
|
||||
const programs = []
|
||||
const items = parseItems(content)
|
||||
items.forEach(item => {
|
||||
const prev = programs[programs.length - 1]
|
||||
const $item = cheerio.load(item)
|
||||
let start = parseStart($item, date)
|
||||
if (prev) {
|
||||
if (start.isBefore(prev.start)) {
|
||||
start = start.add(1, 'd')
|
||||
date = date.add(1, 'd')
|
||||
}
|
||||
prev.stop = start
|
||||
}
|
||||
const stop = start.add(1, 'h')
|
||||
programs.push({ title: parseTitle($item), start, stop })
|
||||
})
|
||||
|
||||
return programs
|
||||
}
|
||||
}
|
||||
|
||||
function parseStart($item, date) {
|
||||
const timeString = $item('td:nth-child(2)').text().split(' ').pop()
|
||||
const dateString = `${date.format('YYYY-MM-DD')} ${timeString}`
|
||||
|
||||
return dayjs.tz(dateString, 'YYYY-MM-DD HH:mm', 'Europe/Berlin')
|
||||
}
|
||||
|
||||
function parseTitle($item) {
|
||||
return $item('td:nth-child(1) > a').text()
|
||||
}
|
||||
|
||||
function parseItems(content) {
|
||||
const $ = cheerio.load(content)
|
||||
|
||||
return $('table > tbody > tr').toArray()
|
||||
}
|
|
@ -1,54 +0,0 @@
|
|||
const { parser, url } = require('./hd-plus.de.config.js')
|
||||
const dayjs = require('dayjs')
|
||||
const utc = require('dayjs/plugin/utc')
|
||||
const customParseFormat = require('dayjs/plugin/customParseFormat')
|
||||
dayjs.extend(customParseFormat)
|
||||
dayjs.extend(utc)
|
||||
|
||||
const date = dayjs.utc('2021-11-25', 'YYYY-MM-DD').startOf('d')
|
||||
const channel = {
|
||||
site_id: '1-2-3-tv-hd',
|
||||
xmltv_id: '123tv.de'
|
||||
}
|
||||
const content =
|
||||
'<!DOCTYPE html><html> <head lang="de"></head> <body data-sensory-parallax-role="main" data-sensory-controller=\'{"controllerName": "OffscreenController"}\' class="webshop-epg red" > <main data-sensory-controller=\'{"controllerName": "TeaserController"}\'> <div class="grid-container-epg channel"> <div class="site_overlay"> <div class="loading_icon"></div></div><div class="site_wrapper"> <div id="UIChannelContent-619fb9d2e185d" class="channel-content"> <header> <img src="//cdn.hd-plus.de/senderlogos/bright-cropped/24444-2.png" alt="1-2-3.tv HD" class="channel-image"/> <h2 class="title">1-2-3.tv HD</h2> </header> <table> <thead> <tr> <th>Titel</th> <th>Ausstrahlungszeit</th> </tr></thead> <tbody> <tr> <td> <a href="/epg/show/1-2-3-tv-hd-ihre-lieblingsuhren/1442396582" >Ihre Lieblingsuhren</a > </td><td>Do 25.11 00:00</td></tr><tr> <td> <a href="/epg/show/1-2-3-tv-hd-ihre-lieblingsuhren/1442396584" >Ihre Lieblingsuhren</a > </td><td>Do 25.11 01:00</td></tr><tr> <td><a href="/epg/show/1-2-3-tv-hd-flash-deals/1452944370">Flash Deals</a></td><td>Do 25.11 06:00</td></tr></tbody> </table> </div></div></div></main> </body></html>'
|
||||
|
||||
it('can generate valid url', () => {
|
||||
const today = dayjs.utc().startOf('d')
|
||||
expect(url({ channel, date: today })).toBe('https://www.hd-plus.de/epg/channel/1-2-3-tv-hd?d=0')
|
||||
})
|
||||
|
||||
it('can parse response', () => {
|
||||
const result = parser({ content, channel, date }).map(p => {
|
||||
p.start = p.start.toJSON()
|
||||
p.stop = p.stop.toJSON()
|
||||
return p
|
||||
})
|
||||
|
||||
expect(result).toMatchObject([
|
||||
{
|
||||
start: '2021-11-24T23:00:00.000Z',
|
||||
stop: '2021-11-25T00:00:00.000Z',
|
||||
title: 'Ihre Lieblingsuhren'
|
||||
},
|
||||
{
|
||||
start: '2021-11-25T00:00:00.000Z',
|
||||
stop: '2021-11-25T05:00:00.000Z',
|
||||
title: 'Ihre Lieblingsuhren'
|
||||
},
|
||||
{
|
||||
start: '2021-11-25T05:00:00.000Z',
|
||||
stop: '2021-11-25T06:00:00.000Z',
|
||||
title: 'Flash Deals'
|
||||
}
|
||||
])
|
||||
})
|
||||
|
||||
it('can handle empty guide', () => {
|
||||
const result = parser({
|
||||
date,
|
||||
channel,
|
||||
content: '<!DOCTYPE html><html><head></head><body></body></html>'
|
||||
})
|
||||
expect(result).toMatchObject([])
|
||||
})
|
|
@ -1,15 +0,0 @@
|
|||
# hd-plus.de
|
||||
|
||||
https://hd-plus.de/
|
||||
|
||||
### Download the guide
|
||||
|
||||
```sh
|
||||
npm run grab --- --site=hd-plus.de
|
||||
```
|
||||
|
||||
### Test
|
||||
|
||||
```sh
|
||||
npm test --- hd-plus.de
|
||||
```
|
Loading…
Add table
Add a link
Reference in a new issue