From 9a9d21dfe7781904d97da3934b8040d73bb73bba Mon Sep 17 00:00:00 2001 From: PopeyeTheSai10r <107763146+PopeyeTheSai10r@users.noreply.github.com> Date: Sat, 28 Dec 2024 22:44:14 -0800 Subject: [PATCH] elcinema.com close #2541 --- sites/elcinema.com/elcinema.com.config.js | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/sites/elcinema.com/elcinema.com.config.js b/sites/elcinema.com/elcinema.com.config.js index 02b9897f..3be42ef5 100644 --- a/sites/elcinema.com/elcinema.com.config.js +++ b/sites/elcinema.com/elcinema.com.config.js @@ -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/' : '/'