mirror of
https://github.com/iptv-org/epg.git
synced 2025-05-09 16:40:07 -04:00
parent
5e420b23e1
commit
9a9d21dfe7
1 changed files with 5 additions and 0 deletions
|
@ -9,9 +9,14 @@ dayjs.extend(customParseFormat)
|
|||
dayjs.extend(timezone)
|
||||
dayjs.extend(utc)
|
||||
|
||||
const headers = {
|
||||
'User-Agent':
|
||||
'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/130.0.0.0 Safari/537.36 OPR/115.0.0.0' }
|
||||
|
||||
module.exports = {
|
||||
site: 'elcinema.com',
|
||||
days: 2,
|
||||
request: { headers },
|
||||
url({ channel }) {
|
||||
const lang = channel.lang === 'en' ? 'en/' : '/'
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue