Use simultaneous fetch helper.

- Introduce fetch helper for site to fetch guide simultaneously.
- Clean-up unused requires.
- Updated tv.yandex.ru cookies.

Signed-off-by: Toha <tohenk@yahoo.com>
This commit is contained in:
Toha committed 2024-12-20 19:54:59 +07:00
1 parent f00d53cb7b
commit 916b5f5234
12 files changed
+273 -429

No files matched your search

@@ -43,7 +43,6 @@ module.exports = {
},
async channels() {
const axios = require('axios')
const cheerio = require('cheerio')
const result = await axios
.get(
`https://api.firstmedia.com/api/content/tv-guide/list?date=${dayjs().format(