mirror of
https://github.com/iptv-org/epg.git
synced 2025-05-10 09:00:07 -04:00
Merge pull request #723 from iptv-org/fix-movistarplus.es
Fix movistarplus.es
This commit is contained in:
commit
9a3fda82e4
2 changed files with 36 additions and 36 deletions
|
@ -1,3 +1,5 @@
|
|||
// npx epg-grabber --config=sites/movistarplus.es/movistarplus.es.config.js --channels=sites/movistarplus.es/movistarplus.es_es.channels.xml --output=guide.xml --days=2
|
||||
|
||||
const { parser, url, request } = require('./movistarplus.es.config.js')
|
||||
const dayjs = require('dayjs')
|
||||
const utc = require('dayjs/plugin/utc')
|
||||
|
@ -12,9 +14,7 @@ const channel = {
|
|||
}
|
||||
|
||||
it('can generate valid url', () => {
|
||||
expect(url({ date })).toBe(
|
||||
'https://www.movistarplus.es/programacion-tv/2022-03-11?v=json'
|
||||
)
|
||||
expect(url({ date })).toBe('https://www.movistarplus.es/programacion-tv/2022-03-11?v=json')
|
||||
})
|
||||
|
||||
it('can parse response', () => {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue