From 532a06f0765ee3404252e5f9a7913e199ed32a27 Mon Sep 17 00:00:00 2001 From: theofficialomega <30985701+BellezaEmporium@users.noreply.github.com> Date: Tue, 21 Apr 2026 19:47:13 +0200 Subject: [PATCH] reinstate certain deps & modify configs --- package-lock.json | 470 ++---------------- package.json | 22 +- sites/dsmart.com.tr/dsmart.com.tr.config.js | 2 - sites/hoy.tv/hoy.tv.config.js | 2 +- sites/mncvision.id/mncvision.id.config.js | 3 - .../mujtvprogram.cz.channels.xml | 4 +- .../mujtvprogram.cz/mujtvprogram.cz.config.js | 2 +- sites/rotana.net/rotana.net.config.js | 3 - .../startimestv.com/startimestv.com.config.js | 2 - sites/tivie.id/tivie.id.config.js | 3 - sites/tvguide.com/tvguide.com.config.js | 7 +- .../virgintvgo.virginmedia.com.config.js | 3 - sites/ziggogo.tv/ziggogo.tv.config.js | 2 +- 13 files changed, 50 insertions(+), 475 deletions(-) diff --git a/package-lock.json b/package-lock.json index 39e1ee857..48089e260 100644 --- a/package-lock.json +++ b/package-lock.json @@ -8,11 +8,8 @@ "hasInstallScript": true, "license": "UNLICENSED", "dependencies": { - "@eslint/eslintrc": "^3.3.5", "@eslint/js": "^10.0.1", - "@freearhey/chronos": "^0.0.1", "@freearhey/core": "^0.15.2", - "@freearhey/search-js": "^0.2.1", "@freearhey/storage-js": "^0.2.0", "@inquirer/prompts": "^8.4.2", "@iptv-org/sdk": "^1.3.0", @@ -24,24 +21,18 @@ "@swc/jest": "^0.2.39", "@types/cli-progress": "^3.11.6", "@types/fs-extra": "^11.0.4", - "@types/inquirer": "^9.0.9", "@types/jest": "^30.0.0", "@types/langs": "^2.0.5", "@types/lodash.merge": "^4.6.9", - "@types/lodash.orderby": "^4.6.9", - "@types/lodash.sortby": "^4.7.9", - "@types/lodash.startcase": "^4.4.9", - "@types/lodash.uniqby": "^4.7.9", "@types/node": "^25.6.0", "@types/pako": "^2.0.4", "axios": "^1.15.0", + "axios-mock-adapter": "^2.1.0", "chalk": "^5.6.2", "cheerio": "^1.2.0", "cli-progress": "^3.12.0", "commander": "^14.0.3", - "consola": "^3.4.2", "cross-env": "^10.1.0", - "csv-parser": "^3.2.0", "curl-generator": "^0.5.0", "dayjs": "^1.11.20", "epg-grabber": "^0.46.1", @@ -49,7 +40,6 @@ "eslint": "^10.2.1", "eslint-config-prettier": "^10.1.8", "fs-extra": "^11.3.4", - "glob": "^13.0.6", "globals": "^17.5.0", "husky": "^9.1.7", "iconv-lite": "^0.7.2", @@ -57,7 +47,6 @@ "langs": "^2.0.0", "libxml2-wasm": "^0.7.1", "lodash.merge": "^4.6.2", - "lodash.orderby": "^4.18.0", "lodash.sortby": "^4.7.0", "lodash.startcase": "^4.4.0", "lodash.uniqby": "^4.7.0", @@ -65,15 +54,16 @@ "pako": "^2.1.0", "parse-duration": "^2.1.6", "pm2": "^6.0.14", + "sax": "^1.6.0", "serve": "^14.2.6", "socks-proxy-agent": "^10.0.0", - "srcset": "^5.0.3", "table2array": "^0.0.2", "tabletojson": "^4.1.10", "tsx": "^4.21.0", "typescript": "^6.0.3", "typescript-eslint": "^8.59.0", - "uuid": "^14.0.0" + "uuid": "^14.0.0", + "xml-js-v2": "^2.1.1" } }, "node_modules/@aashutoshrathi/word-wrap": { @@ -1134,40 +1124,6 @@ "node": "^20.19.0 || ^22.13.0 || >=24" } }, - "node_modules/@eslint/eslintrc": { - "version": "3.3.5", - "resolved": "https://registry.npmjs.org/@eslint/eslintrc/-/eslintrc-3.3.5.tgz", - "integrity": "sha512-4IlJx0X0qftVsN5E+/vGujTRIFtwuLbNsVUe7TO6zYPDR1O6nFwvwhIKEKSrl6dZchmYBITazxKoUYOjdtjlRg==", - "license": "MIT", - "dependencies": { - "ajv": "^6.14.0", - "debug": "^4.3.2", - "espree": "^10.0.1", - "globals": "^14.0.0", - "ignore": "^5.2.0", - "import-fresh": "^3.2.1", - "js-yaml": "^4.1.1", - "minimatch": "^3.1.5", - "strip-json-comments": "^3.1.1" - }, - "engines": { - "node": "^18.18.0 || ^20.9.0 || >=21.1.0" - }, - "funding": { - "url": "https://opencollective.com/eslint" - } - }, - "node_modules/@eslint/eslintrc/node_modules/globals": { - "version": "14.0.0", - "resolved": "https://registry.npmjs.org/globals/-/globals-14.0.0.tgz", - "integrity": "sha512-oahGvuMGQlPw/ivIYBjVSrWAfWLBeku5tpPE2fOPLi+WHffIWbuh2tCjhyQhTBPMf5E9jDEH4FOmTYgYwbKwtQ==", - "engines": { - "node": ">=18" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, "node_modules/@eslint/js": { "version": "10.0.1", "resolved": "https://registry.npmjs.org/@eslint/js/-/js-10.0.1.tgz", @@ -1210,19 +1166,6 @@ "node": "^20.19.0 || ^22.13.0 || >=24" } }, - "node_modules/@freearhey/chronos": { - "version": "0.0.1", - "resolved": "https://registry.npmjs.org/@freearhey/chronos/-/chronos-0.0.1.tgz", - "integrity": "sha512-nzu26ct0BMzDZ+7QGOve5kMPMayY4VoipCrCcVQ06x3ULIieV9oMbOMFjFVENCoevDGJ7telMsK84F0SpUgxnQ==", - "dependencies": { - "commander": "^14.0.0", - "node-cron": "^4.2.1", - "string-argv": "^0.3.2" - }, - "bin": { - "chronos": "index.js" - } - }, "node_modules/@freearhey/core": { "version": "0.15.2", "resolved": "https://registry.npmjs.org/@freearhey/core/-/core-0.15.2.tgz", @@ -3643,16 +3586,6 @@ "@types/node": "*" } }, - "node_modules/@types/inquirer": { - "version": "9.0.9", - "resolved": "https://registry.npmjs.org/@types/inquirer/-/inquirer-9.0.9.tgz", - "integrity": "sha512-/mWx5136gts2Z2e5izdoRCo46lPp5TMs9R15GTSsgg/XnZyxDWVqoVU3R9lWnccKpqwsJLvRoxbCjoJtZB7DSw==", - "license": "MIT", - "dependencies": { - "@types/through": "*", - "rxjs": "^7.2.0" - } - }, "node_modules/@types/istanbul-lib-coverage": { "version": "2.0.6", "resolved": "https://registry.npmjs.org/@types/istanbul-lib-coverage/-/istanbul-lib-coverage-2.0.6.tgz", @@ -3721,15 +3654,6 @@ "@types/lodash": "*" } }, - "node_modules/@types/lodash.orderby": { - "version": "4.6.9", - "resolved": "https://registry.npmjs.org/@types/lodash.orderby/-/lodash.orderby-4.6.9.tgz", - "integrity": "sha512-T9o2wkIJOmxXwVTPTmwJ59W6eTi2FseiLR369fxszG649Po/xe9vqFNhf/MtnvT5jrbDiyWKxPFPZbpSVK0SVQ==", - "license": "MIT", - "dependencies": { - "@types/lodash": "*" - } - }, "node_modules/@types/lodash.padstart": { "version": "4.6.9", "resolved": "https://registry.npmjs.org/@types/lodash.padstart/-/lodash.padstart-4.6.9.tgz", @@ -3738,33 +3662,6 @@ "@types/lodash": "*" } }, - "node_modules/@types/lodash.sortby": { - "version": "4.7.9", - "resolved": "https://registry.npmjs.org/@types/lodash.sortby/-/lodash.sortby-4.7.9.tgz", - "integrity": "sha512-PDmjHnOlndLS59GofH0pnxIs+n9i4CWeXGErSB5JyNFHu2cmvW6mQOaUKjG8EDPkni14IgF8NsRW8bKvFzTm9A==", - "license": "MIT", - "dependencies": { - "@types/lodash": "*" - } - }, - "node_modules/@types/lodash.startcase": { - "version": "4.4.9", - "resolved": "https://registry.npmjs.org/@types/lodash.startcase/-/lodash.startcase-4.4.9.tgz", - "integrity": "sha512-C0M4DlN1pnn2vEEhLHkTHxiRZ+3GlTegpoAEHHGXnuJkSOXyJMHGiSc+SLRzBlFZWHsBkixe6FqvEAEU04g14g==", - "license": "MIT", - "dependencies": { - "@types/lodash": "*" - } - }, - "node_modules/@types/lodash.uniqby": { - "version": "4.7.9", - "resolved": "https://registry.npmjs.org/@types/lodash.uniqby/-/lodash.uniqby-4.7.9.tgz", - "integrity": "sha512-rjrXji/seS6BZJRgXrU2h6FqxRVufsbq/HE0Tx0SdgbtlWr2YmD/M64BlYEYYlaMcpZwy32IYVkMfUMYlPuv0w==", - "license": "MIT", - "dependencies": { - "@types/lodash": "*" - } - }, "node_modules/@types/node": { "version": "25.6.0", "resolved": "https://registry.npmjs.org/@types/node/-/node-25.6.0.tgz", @@ -3785,14 +3682,6 @@ "integrity": "sha512-9aEbYZ3TbYMznPdcdr3SmIrLXwC/AKZXQeCf9Pgao5CKb8CyHuEX5jzWPTkvregvhRJHcpRO6BFoGW9ycaOkYw==", "license": "MIT" }, - "node_modules/@types/through": { - "version": "0.0.31", - "resolved": "https://registry.npmjs.org/@types/through/-/through-0.0.31.tgz", - "integrity": "sha512-LpKpmb7FGevYgXnBXYs6HWnmiFyVG07Pt1cnbgM1IhEacITTiUaBXXvOR3Y50ksaJWGSfhbEvQFivQEFGCC55w==", - "dependencies": { - "@types/node": "*" - } - }, "node_modules/@types/triple-beam": { "version": "1.3.5", "resolved": "https://registry.npmjs.org/@types/triple-beam/-/triple-beam-1.3.5.tgz", @@ -4643,6 +4532,7 @@ "version": "2.1.0", "resolved": "https://registry.npmjs.org/axios-mock-adapter/-/axios-mock-adapter-2.1.0.tgz", "integrity": "sha512-AZUe4OjECGCNNssH8SOdtneiQELsqTsat3SQQCWLPjN436/H+L9AjWfV7bF+Zg/YL9cgbhrz5671hoh+Tbn98w==", + "license": "MIT", "dependencies": { "fast-deep-equal": "^3.1.3", "is-buffer": "^2.0.5" @@ -5567,18 +5457,6 @@ "url": "https://github.com/sponsors/fb55" } }, - "node_modules/csv-parser": { - "version": "3.2.0", - "resolved": "https://registry.npmjs.org/csv-parser/-/csv-parser-3.2.0.tgz", - "integrity": "sha512-fgKbp+AJbn1h2dcAHKIdKNSSjfp43BZZykXsCjzALjKy80VXQNHPFJ6T9Afwdzoj24aMkq8GwDS7KGcDPpejrA==", - "license": "MIT", - "bin": { - "csv-parser": "bin/csv-parser" - }, - "engines": { - "node": ">= 10" - } - }, "node_modules/culvert": { "version": "0.1.2", "resolved": "https://registry.npmjs.org/culvert/-/culvert-0.1.2.tgz", @@ -6885,23 +6763,6 @@ "resolved": "https://registry.npmjs.org/git-sha1/-/git-sha1-0.1.2.tgz", "integrity": "sha512-2e/nZezdVlyCopOCYHeW0onkbZg7xP1Ad6pndPy1rCygeRykefUS6r7oA5cJRGEFvseiaz5a/qUHFVX1dd6Isg==" }, - "node_modules/glob": { - "version": "13.0.6", - "resolved": "https://registry.npmjs.org/glob/-/glob-13.0.6.tgz", - "integrity": "sha512-Wjlyrolmm8uDpm/ogGyXZXb1Z+Ca2B8NbJwqBVg0axK9GbBeoS7yGV6vjXnYdGm6X53iehEuxxbyiKp8QmN4Vw==", - "license": "BlueOak-1.0.0", - "dependencies": { - "minimatch": "^10.2.2", - "minipass": "^7.1.3", - "path-scurry": "^2.0.2" - }, - "engines": { - "node": "18 || 20 || >=22" - }, - "funding": { - "url": "https://github.com/sponsors/isaacs" - } - }, "node_modules/glob-parent": { "version": "6.0.2", "resolved": "https://registry.npmjs.org/glob-parent/-/glob-parent-6.0.2.tgz", @@ -6913,42 +6774,6 @@ "node": ">=10.13.0" } }, - "node_modules/glob/node_modules/balanced-match": { - "version": "4.0.4", - "resolved": "https://registry.npmjs.org/balanced-match/-/balanced-match-4.0.4.tgz", - "integrity": "sha512-BLrgEcRTwX2o6gGxGOCNyMvGSp35YofuYzw9h1IMTRmKqttAZZVU67bdb9Pr2vUHA8+j3i2tJfjO6C6+4myGTA==", - "license": "MIT", - "engines": { - "node": "18 || 20 || >=22" - } - }, - "node_modules/glob/node_modules/brace-expansion": { - "version": "5.0.5", - "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-5.0.5.tgz", - "integrity": "sha512-VZznLgtwhn+Mact9tfiwx64fA9erHH/MCXEUfB/0bX/6Fz6ny5EGTXYltMocqg4xFAQZtnO3DHWWXi8RiuN7cQ==", - "license": "MIT", - "dependencies": { - "balanced-match": "^4.0.2" - }, - "engines": { - "node": "18 || 20 || >=22" - } - }, - "node_modules/glob/node_modules/minimatch": { - "version": "10.2.5", - "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-10.2.5.tgz", - "integrity": "sha512-MULkVLfKGYDFYejP07QOurDLLQpcjk7Fw+7jXS2R2czRQzR56yHRveU5NDJEOviH+hETZKSkIk5c+T23GjFUMg==", - "license": "BlueOak-1.0.0", - "dependencies": { - "brace-expansion": "^5.0.5" - }, - "engines": { - "node": "18 || 20 || >=22" - }, - "funding": { - "url": "https://github.com/sponsors/isaacs" - } - }, "node_modules/globals": { "version": "17.5.0", "resolved": "https://registry.npmjs.org/globals/-/globals-17.5.0.tgz", @@ -7140,29 +6965,6 @@ "node": ">= 4" } }, - "node_modules/import-fresh": { - "version": "3.3.0", - "resolved": "https://registry.npmjs.org/import-fresh/-/import-fresh-3.3.0.tgz", - "integrity": "sha512-veYYhQa+D1QBKznvhUHxb8faxlrwUnxseDAbAp457E0wLNio2bOSKnjYDhMj+YiAq61xrMGhQk9iXVk5FzgQMw==", - "dependencies": { - "parent-module": "^1.0.0", - "resolve-from": "^4.0.0" - }, - "engines": { - "node": ">=6" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/import-fresh/node_modules/resolve-from": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/resolve-from/-/resolve-from-4.0.0.tgz", - "integrity": "sha512-pb/MYmXstAkysRFx8piNI1tGFNQIFA3vkE3Gq4EuA1dF6gHp/+vgZqsCGJapvy8N3Q+4o7FwvquPJcnZ7RYy4g==", - "engines": { - "node": ">=4" - } - }, "node_modules/import-local": { "version": "3.2.0", "resolved": "https://registry.npmjs.org/import-local/-/import-local-3.2.0.tgz", @@ -9424,12 +9226,6 @@ "resolved": "https://registry.npmjs.org/lodash.merge/-/lodash.merge-4.6.2.tgz", "integrity": "sha512-0KpjqXRVvrYyCsX1swR/XTK0va6VQkQM6MNo7PqW77ByjAhoARA8EfrP1N4+KlKj8YS0ZUCtRT/YUuhyYDujIQ==" }, - "node_modules/lodash.orderby": { - "version": "4.18.0", - "resolved": "https://registry.npmjs.org/lodash.orderby/-/lodash.orderby-4.18.0.tgz", - "integrity": "sha512-XSSpOxgihAM5kawpay9vl0e9r73l+LJIh03NzJBF33DWb8XgSM9Bvl1mEpA0ydrvoOeTVbNZBo2gY7zfw22EQQ==", - "license": "MIT" - }, "node_modules/lodash.padstart": { "version": "4.6.1", "resolved": "https://registry.npmjs.org/lodash.padstart/-/lodash.padstart-4.6.1.tgz", @@ -9679,14 +9475,6 @@ "node": ">= 0.4.0" } }, - "node_modules/node-cron": { - "version": "4.2.1", - "resolved": "https://registry.npmjs.org/node-cron/-/node-cron-4.2.1.tgz", - "integrity": "sha512-lgimEHPE/QDgFlywTd8yTR61ptugX3Qer29efeyWw2rv259HtGBNn1vZVmp8lB9uo9wC0t/AT4iGqXxia+CJFg==", - "engines": { - "node": ">=6.0.0" - } - }, "node_modules/node-int64": { "version": "0.4.0", "resolved": "https://registry.npmjs.org/node-int64/-/node-int64-0.4.0.tgz", @@ -9916,17 +9704,6 @@ "resolved": "https://registry.npmjs.org/pako/-/pako-2.1.0.tgz", "integrity": "sha512-w+eufiZ1WuJYgPXbV/PO3NCMEc3xqylkKHzp8bxp1uW4qaSNQUkwmLLEc3kKsfz8lpV1F8Ht3U1Cm+9Srog2ug==" }, - "node_modules/parent-module": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/parent-module/-/parent-module-1.0.1.tgz", - "integrity": "sha512-GQ2EWRpQV8/o+Aw8YqtfZZPfNRWZYkbidE9k5rpl/hC3vtHHBfGm2Ifi6qWV+coDGkrUKZAxE3Lot5kcsRlh+g==", - "dependencies": { - "callsites": "^3.0.0" - }, - "engines": { - "node": ">=6" - } - }, "node_modules/parse-duration": { "version": "2.1.6", "resolved": "https://registry.npmjs.org/parse-duration/-/parse-duration-2.1.6.tgz", @@ -10609,14 +10386,6 @@ } ] }, - "node_modules/rxjs": { - "version": "7.8.2", - "resolved": "https://registry.npmjs.org/rxjs/-/rxjs-7.8.2.tgz", - "integrity": "sha512-dhKf903U/PQZY6boNNtAGdWbG85WAbjT/1xYoZIC7FAY0yWapOBQVsVrDl58W86//e1VpMNBtRV4MaXfdMySFA==", - "dependencies": { - "tslib": "^2.1.0" - } - }, "node_modules/safe-buffer": { "version": "5.2.1", "resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.2.1.tgz", @@ -10650,9 +10419,13 @@ "integrity": "sha512-YZo3K82SD7Riyi0E1EQPojLz7kpepnSQI9IyPbHHg1XXXevb5dJI7tpyN2ADxGcQbHG7vcyRHk0cbwqcQriUtg==" }, "node_modules/sax": { - "version": "1.2.4", - "resolved": "https://registry.npmjs.org/sax/-/sax-1.2.4.tgz", - "integrity": "sha512-NqVDv9TpANUjFm0N8uM5GxL36UgKi9/atZw+x7YFnQ8ckwFGKrl4xX4yWtrey3UJm5nP1kUbnYgLopqWNSRhWw==" + "version": "1.6.0", + "resolved": "https://registry.npmjs.org/sax/-/sax-1.6.0.tgz", + "integrity": "sha512-6R3J5M4AcbtLUdZmRv2SygeVaM7IhrLXu9BmnOGmmACak8fiUtOsYNWUS4uK7upbmHIBbLBeFeI//477BKLBzA==", + "license": "BlueOak-1.0.0", + "engines": { + "node": ">=11.0.0" + } }, "node_modules/semver": { "version": "7.7.2", @@ -10868,18 +10641,6 @@ "integrity": "sha512-D9cPgkvLlV3t3IzL0D0YLvGA9Ahk4PcvVwUbN0dSGr1aP0Nrt4AEnTUbuGvquEC0mA64Gqt1fzirlRs5ibXx8g==", "license": "BSD-3-Clause" }, - "node_modules/srcset": { - "version": "5.0.3", - "resolved": "https://registry.npmjs.org/srcset/-/srcset-5.0.3.tgz", - "integrity": "sha512-AZswtOXIsu0LeHdo6YY7d0r2pCH2Rl1D8ae1utvXUX4GxG3RggsVUAOFX1r8RI4YHFMYb4g89+UBPBv3mNUU2g==", - "license": "MIT", - "engines": { - "node": "^12.20.0 || ^14.13.1 || >=16.0.0" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, "node_modules/stack-trace": { "version": "0.0.10", "resolved": "https://registry.npmjs.org/stack-trace/-/stack-trace-0.0.10.tgz", @@ -10917,14 +10678,6 @@ "safe-buffer": "~5.2.0" } }, - "node_modules/string-argv": { - "version": "0.3.2", - "resolved": "https://registry.npmjs.org/string-argv/-/string-argv-0.3.2.tgz", - "integrity": "sha512-aqD2Q0144Z+/RqG52NeHEkZauTAUWJO8c6yTftGJKO3Tja5tUgIfmIl6kExvhtxSDP7fXB6DvzkfMpCd/F3G+Q==", - "engines": { - "node": ">=0.6.19" - } - }, "node_modules/string-length": { "version": "4.0.2", "resolved": "https://registry.npmjs.org/string-length/-/string-length-4.0.2.tgz", @@ -11761,6 +11514,7 @@ "version": "1.6.11", "resolved": "https://registry.npmjs.org/xml-js/-/xml-js-1.6.11.tgz", "integrity": "sha512-7rVi2KMfwfWFl+GpPg6m80IVMWXLRjO+PxTq7V2CDhoGak0wzYzFgUY2m4XJ47OGdXd8eLE8EmwfAmdjw7lC1g==", + "license": "MIT", "dependencies": { "sax": "^1.2.4" }, @@ -11768,6 +11522,18 @@ "xml-js": "bin/cli.js" } }, + "node_modules/xml-js-v2": { + "version": "2.2.1", + "resolved": "https://registry.npmjs.org/xml-js-v2/-/xml-js-v2-2.2.1.tgz", + "integrity": "sha512-ra7iIeuBiPMMglpPCsoR/1rPxThXYsz5FZwncSxGrb9PqvQujLSr2/HRd2aFjF/dkdRg2a8K1s4lPa6It88N3A==", + "license": "MIT", + "dependencies": { + "sax": "^1.4.1" + }, + "bin": { + "xml-js-v2": "bin/cli.js" + } + }, "node_modules/y18n": { "version": "5.0.8", "resolved": "https://registry.npmjs.org/y18n/-/y18n-5.0.8.tgz", @@ -12405,29 +12171,6 @@ "@types/json-schema": "^7.0.15" } }, - "@eslint/eslintrc": { - "version": "3.3.5", - "resolved": "https://registry.npmjs.org/@eslint/eslintrc/-/eslintrc-3.3.5.tgz", - "integrity": "sha512-4IlJx0X0qftVsN5E+/vGujTRIFtwuLbNsVUe7TO6zYPDR1O6nFwvwhIKEKSrl6dZchmYBITazxKoUYOjdtjlRg==", - "requires": { - "ajv": "^6.14.0", - "debug": "^4.3.2", - "espree": "^10.0.1", - "globals": "^14.0.0", - "ignore": "^5.2.0", - "import-fresh": "^3.2.1", - "js-yaml": "^4.1.1", - "minimatch": "^3.1.5", - "strip-json-comments": "^3.1.1" - }, - "dependencies": { - "globals": { - "version": "14.0.0", - "resolved": "https://registry.npmjs.org/globals/-/globals-14.0.0.tgz", - "integrity": "sha512-oahGvuMGQlPw/ivIYBjVSrWAfWLBeku5tpPE2fOPLi+WHffIWbuh2tCjhyQhTBPMf5E9jDEH4FOmTYgYwbKwtQ==" - } - } - }, "@eslint/js": { "version": "10.0.1", "resolved": "https://registry.npmjs.org/@eslint/js/-/js-10.0.1.tgz", @@ -12448,16 +12191,6 @@ "levn": "^0.4.1" } }, - "@freearhey/chronos": { - "version": "0.0.1", - "resolved": "https://registry.npmjs.org/@freearhey/chronos/-/chronos-0.0.1.tgz", - "integrity": "sha512-nzu26ct0BMzDZ+7QGOve5kMPMayY4VoipCrCcVQ06x3ULIieV9oMbOMFjFVENCoevDGJ7telMsK84F0SpUgxnQ==", - "requires": { - "commander": "^14.0.0", - "node-cron": "^4.2.1", - "string-argv": "^0.3.2" - } - }, "@freearhey/core": { "version": "0.15.2", "resolved": "https://registry.npmjs.org/@freearhey/core/-/core-0.15.2.tgz", @@ -14031,15 +13764,6 @@ "@types/node": "*" } }, - "@types/inquirer": { - "version": "9.0.9", - "resolved": "https://registry.npmjs.org/@types/inquirer/-/inquirer-9.0.9.tgz", - "integrity": "sha512-/mWx5136gts2Z2e5izdoRCo46lPp5TMs9R15GTSsgg/XnZyxDWVqoVU3R9lWnccKpqwsJLvRoxbCjoJtZB7DSw==", - "requires": { - "@types/through": "*", - "rxjs": "^7.2.0" - } - }, "@types/istanbul-lib-coverage": { "version": "2.0.6", "resolved": "https://registry.npmjs.org/@types/istanbul-lib-coverage/-/istanbul-lib-coverage-2.0.6.tgz", @@ -14101,14 +13825,6 @@ "@types/lodash": "*" } }, - "@types/lodash.orderby": { - "version": "4.6.9", - "resolved": "https://registry.npmjs.org/@types/lodash.orderby/-/lodash.orderby-4.6.9.tgz", - "integrity": "sha512-T9o2wkIJOmxXwVTPTmwJ59W6eTi2FseiLR369fxszG649Po/xe9vqFNhf/MtnvT5jrbDiyWKxPFPZbpSVK0SVQ==", - "requires": { - "@types/lodash": "*" - } - }, "@types/lodash.padstart": { "version": "4.6.9", "resolved": "https://registry.npmjs.org/@types/lodash.padstart/-/lodash.padstart-4.6.9.tgz", @@ -14117,30 +13833,6 @@ "@types/lodash": "*" } }, - "@types/lodash.sortby": { - "version": "4.7.9", - "resolved": "https://registry.npmjs.org/@types/lodash.sortby/-/lodash.sortby-4.7.9.tgz", - "integrity": "sha512-PDmjHnOlndLS59GofH0pnxIs+n9i4CWeXGErSB5JyNFHu2cmvW6mQOaUKjG8EDPkni14IgF8NsRW8bKvFzTm9A==", - "requires": { - "@types/lodash": "*" - } - }, - "@types/lodash.startcase": { - "version": "4.4.9", - "resolved": "https://registry.npmjs.org/@types/lodash.startcase/-/lodash.startcase-4.4.9.tgz", - "integrity": "sha512-C0M4DlN1pnn2vEEhLHkTHxiRZ+3GlTegpoAEHHGXnuJkSOXyJMHGiSc+SLRzBlFZWHsBkixe6FqvEAEU04g14g==", - "requires": { - "@types/lodash": "*" - } - }, - "@types/lodash.uniqby": { - "version": "4.7.9", - "resolved": "https://registry.npmjs.org/@types/lodash.uniqby/-/lodash.uniqby-4.7.9.tgz", - "integrity": "sha512-rjrXji/seS6BZJRgXrU2h6FqxRVufsbq/HE0Tx0SdgbtlWr2YmD/M64BlYEYYlaMcpZwy32IYVkMfUMYlPuv0w==", - "requires": { - "@types/lodash": "*" - } - }, "@types/node": { "version": "25.6.0", "resolved": "https://registry.npmjs.org/@types/node/-/node-25.6.0.tgz", @@ -14159,14 +13851,6 @@ "resolved": "https://registry.npmjs.org/@types/stack-utils/-/stack-utils-2.0.3.tgz", "integrity": "sha512-9aEbYZ3TbYMznPdcdr3SmIrLXwC/AKZXQeCf9Pgao5CKb8CyHuEX5jzWPTkvregvhRJHcpRO6BFoGW9ycaOkYw==" }, - "@types/through": { - "version": "0.0.31", - "resolved": "https://registry.npmjs.org/@types/through/-/through-0.0.31.tgz", - "integrity": "sha512-LpKpmb7FGevYgXnBXYs6HWnmiFyVG07Pt1cnbgM1IhEacITTiUaBXXvOR3Y50ksaJWGSfhbEvQFivQEFGCC55w==", - "requires": { - "@types/node": "*" - } - }, "@types/triple-beam": { "version": "1.3.5", "resolved": "https://registry.npmjs.org/@types/triple-beam/-/triple-beam-1.3.5.tgz", @@ -15263,11 +14947,6 @@ "resolved": "https://registry.npmjs.org/css-what/-/css-what-6.1.0.tgz", "integrity": "sha512-HTUrgRJ7r4dsZKU6GjmpfRK1O76h97Z8MfS1G0FozR+oF2kG6Vfe8JE6zwrkbxigziPHinCJ+gCPjA9EaBDtRw==" }, - "csv-parser": { - "version": "3.2.0", - "resolved": "https://registry.npmjs.org/csv-parser/-/csv-parser-3.2.0.tgz", - "integrity": "sha512-fgKbp+AJbn1h2dcAHKIdKNSSjfp43BZZykXsCjzALjKy80VXQNHPFJ6T9Afwdzoj24aMkq8GwDS7KGcDPpejrA==" - }, "culvert": { "version": "0.1.2", "resolved": "https://registry.npmjs.org/culvert/-/culvert-0.1.2.tgz", @@ -16138,39 +15817,6 @@ "resolved": "https://registry.npmjs.org/git-sha1/-/git-sha1-0.1.2.tgz", "integrity": "sha512-2e/nZezdVlyCopOCYHeW0onkbZg7xP1Ad6pndPy1rCygeRykefUS6r7oA5cJRGEFvseiaz5a/qUHFVX1dd6Isg==" }, - "glob": { - "version": "13.0.6", - "resolved": "https://registry.npmjs.org/glob/-/glob-13.0.6.tgz", - "integrity": "sha512-Wjlyrolmm8uDpm/ogGyXZXb1Z+Ca2B8NbJwqBVg0axK9GbBeoS7yGV6vjXnYdGm6X53iehEuxxbyiKp8QmN4Vw==", - "requires": { - "minimatch": "^10.2.2", - "minipass": "^7.1.3", - "path-scurry": "^2.0.2" - }, - "dependencies": { - "balanced-match": { - "version": "4.0.4", - "resolved": "https://registry.npmjs.org/balanced-match/-/balanced-match-4.0.4.tgz", - "integrity": "sha512-BLrgEcRTwX2o6gGxGOCNyMvGSp35YofuYzw9h1IMTRmKqttAZZVU67bdb9Pr2vUHA8+j3i2tJfjO6C6+4myGTA==" - }, - "brace-expansion": { - "version": "5.0.5", - "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-5.0.5.tgz", - "integrity": "sha512-VZznLgtwhn+Mact9tfiwx64fA9erHH/MCXEUfB/0bX/6Fz6ny5EGTXYltMocqg4xFAQZtnO3DHWWXi8RiuN7cQ==", - "requires": { - "balanced-match": "^4.0.2" - } - }, - "minimatch": { - "version": "10.2.5", - "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-10.2.5.tgz", - "integrity": "sha512-MULkVLfKGYDFYejP07QOurDLLQpcjk7Fw+7jXS2R2czRQzR56yHRveU5NDJEOviH+hETZKSkIk5c+T23GjFUMg==", - "requires": { - "brace-expansion": "^5.0.5" - } - } - } - }, "glob-parent": { "version": "6.0.2", "resolved": "https://registry.npmjs.org/glob-parent/-/glob-parent-6.0.2.tgz", @@ -16289,22 +15935,6 @@ "resolved": "https://registry.npmjs.org/ignore/-/ignore-5.3.2.tgz", "integrity": "sha512-hsBTNUqQTDwkWtcdYI2i06Y/nUBEsNEDJKjWdigLvegy8kDuJAS8uRlpkkcQpyEXL0Z/pjDy5HBmMjRCJ2gq+g==" }, - "import-fresh": { - "version": "3.3.0", - "resolved": "https://registry.npmjs.org/import-fresh/-/import-fresh-3.3.0.tgz", - "integrity": "sha512-veYYhQa+D1QBKznvhUHxb8faxlrwUnxseDAbAp457E0wLNio2bOSKnjYDhMj+YiAq61xrMGhQk9iXVk5FzgQMw==", - "requires": { - "parent-module": "^1.0.0", - "resolve-from": "^4.0.0" - }, - "dependencies": { - "resolve-from": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/resolve-from/-/resolve-from-4.0.0.tgz", - "integrity": "sha512-pb/MYmXstAkysRFx8piNI1tGFNQIFA3vkE3Gq4EuA1dF6gHp/+vgZqsCGJapvy8N3Q+4o7FwvquPJcnZ7RYy4g==" - } - } - }, "import-local": { "version": "3.2.0", "resolved": "https://registry.npmjs.org/import-local/-/import-local-3.2.0.tgz", @@ -17850,11 +17480,6 @@ "resolved": "https://registry.npmjs.org/lodash.merge/-/lodash.merge-4.6.2.tgz", "integrity": "sha512-0KpjqXRVvrYyCsX1swR/XTK0va6VQkQM6MNo7PqW77ByjAhoARA8EfrP1N4+KlKj8YS0ZUCtRT/YUuhyYDujIQ==" }, - "lodash.orderby": { - "version": "4.18.0", - "resolved": "https://registry.npmjs.org/lodash.orderby/-/lodash.orderby-4.18.0.tgz", - "integrity": "sha512-XSSpOxgihAM5kawpay9vl0e9r73l+LJIh03NzJBF33DWb8XgSM9Bvl1mEpA0ydrvoOeTVbNZBo2gY7zfw22EQQ==" - }, "lodash.padstart": { "version": "4.6.1", "resolved": "https://registry.npmjs.org/lodash.padstart/-/lodash.padstart-4.6.1.tgz", @@ -18031,11 +17656,6 @@ "resolved": "https://registry.npmjs.org/netmask/-/netmask-2.0.2.tgz", "integrity": "sha512-dBpDMdxv9Irdq66304OLfEmQ9tbNRFnFTuZiLo+bD+r332bBmMJ8GBLXklIXXgxd3+v9+KUnZaUR5PJMa75Gsg==" }, - "node-cron": { - "version": "4.2.1", - "resolved": "https://registry.npmjs.org/node-cron/-/node-cron-4.2.1.tgz", - "integrity": "sha512-lgimEHPE/QDgFlywTd8yTR61ptugX3Qer29efeyWw2rv259HtGBNn1vZVmp8lB9uo9wC0t/AT4iGqXxia+CJFg==" - }, "node-int64": { "version": "0.4.0", "resolved": "https://registry.npmjs.org/node-int64/-/node-int64-0.4.0.tgz", @@ -18201,14 +17821,6 @@ "resolved": "https://registry.npmjs.org/pako/-/pako-2.1.0.tgz", "integrity": "sha512-w+eufiZ1WuJYgPXbV/PO3NCMEc3xqylkKHzp8bxp1uW4qaSNQUkwmLLEc3kKsfz8lpV1F8Ht3U1Cm+9Srog2ug==" }, - "parent-module": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/parent-module/-/parent-module-1.0.1.tgz", - "integrity": "sha512-GQ2EWRpQV8/o+Aw8YqtfZZPfNRWZYkbidE9k5rpl/hC3vtHHBfGm2Ifi6qWV+coDGkrUKZAxE3Lot5kcsRlh+g==", - "requires": { - "callsites": "^3.0.0" - } - }, "parse-duration": { "version": "2.1.6", "resolved": "https://registry.npmjs.org/parse-duration/-/parse-duration-2.1.6.tgz", @@ -18681,14 +18293,6 @@ "resolved": "https://registry.npmjs.org/run-series/-/run-series-1.1.9.tgz", "integrity": "sha512-Arc4hUN896vjkqCYrUXquBFtRZdv1PfLbTYP71efP6butxyQ0kWpiNJyAgsxscmQg1cqvHY32/UCBzXedTpU2g==" }, - "rxjs": { - "version": "7.8.2", - "resolved": "https://registry.npmjs.org/rxjs/-/rxjs-7.8.2.tgz", - "integrity": "sha512-dhKf903U/PQZY6boNNtAGdWbG85WAbjT/1xYoZIC7FAY0yWapOBQVsVrDl58W86//e1VpMNBtRV4MaXfdMySFA==", - "requires": { - "tslib": "^2.1.0" - } - }, "safe-buffer": { "version": "5.2.1", "resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.2.1.tgz", @@ -18705,9 +18309,9 @@ "integrity": "sha512-YZo3K82SD7Riyi0E1EQPojLz7kpepnSQI9IyPbHHg1XXXevb5dJI7tpyN2ADxGcQbHG7vcyRHk0cbwqcQriUtg==" }, "sax": { - "version": "1.2.4", - "resolved": "https://registry.npmjs.org/sax/-/sax-1.2.4.tgz", - "integrity": "sha512-NqVDv9TpANUjFm0N8uM5GxL36UgKi9/atZw+x7YFnQ8ckwFGKrl4xX4yWtrey3UJm5nP1kUbnYgLopqWNSRhWw==" + "version": "1.6.0", + "resolved": "https://registry.npmjs.org/sax/-/sax-1.6.0.tgz", + "integrity": "sha512-6R3J5M4AcbtLUdZmRv2SygeVaM7IhrLXu9BmnOGmmACak8fiUtOsYNWUS4uK7upbmHIBbLBeFeI//477BKLBzA==" }, "semver": { "version": "7.7.2", @@ -18862,11 +18466,6 @@ "resolved": "https://registry.npmjs.org/sprintf-js/-/sprintf-js-1.0.3.tgz", "integrity": "sha512-D9cPgkvLlV3t3IzL0D0YLvGA9Ahk4PcvVwUbN0dSGr1aP0Nrt4AEnTUbuGvquEC0mA64Gqt1fzirlRs5ibXx8g==" }, - "srcset": { - "version": "5.0.3", - "resolved": "https://registry.npmjs.org/srcset/-/srcset-5.0.3.tgz", - "integrity": "sha512-AZswtOXIsu0LeHdo6YY7d0r2pCH2Rl1D8ae1utvXUX4GxG3RggsVUAOFX1r8RI4YHFMYb4g89+UBPBv3mNUU2g==" - }, "stack-trace": { "version": "0.0.10", "resolved": "https://registry.npmjs.org/stack-trace/-/stack-trace-0.0.10.tgz", @@ -18895,11 +18494,6 @@ "safe-buffer": "~5.2.0" } }, - "string-argv": { - "version": "0.3.2", - "resolved": "https://registry.npmjs.org/string-argv/-/string-argv-0.3.2.tgz", - "integrity": "sha512-aqD2Q0144Z+/RqG52NeHEkZauTAUWJO8c6yTftGJKO3Tja5tUgIfmIl6kExvhtxSDP7fXB6DvzkfMpCd/F3G+Q==" - }, "string-length": { "version": "4.0.2", "resolved": "https://registry.npmjs.org/string-length/-/string-length-4.0.2.tgz", @@ -19431,6 +19025,14 @@ "sax": "^1.2.4" } }, + "xml-js-v2": { + "version": "2.2.1", + "resolved": "https://registry.npmjs.org/xml-js-v2/-/xml-js-v2-2.2.1.tgz", + "integrity": "sha512-ra7iIeuBiPMMglpPCsoR/1rPxThXYsz5FZwncSxGrb9PqvQujLSr2/HRd2aFjF/dkdRg2a8K1s4lPa6It88N3A==", + "requires": { + "sax": "^1.4.1" + } + }, "y18n": { "version": "5.0.8", "resolved": "https://registry.npmjs.org/y18n/-/y18n-5.0.8.tgz", diff --git a/package.json b/package.json index d533aa231..2f88c83b0 100644 --- a/package.json +++ b/package.json @@ -32,18 +32,15 @@ ], "testTimeout": 10000, "transformIgnorePatterns": [ - "/node_modules/(?!parse-duration/.*|@freearhey/core/.*|glob/.*|srcset/.*|balanced-match/.*|minimatch/.*)" + "/node_modules/(?!parse-duration/.*|@freearhey/core/.*|balanced-match/.*|minimatch/.*)" ] }, "dependencies": { - "@eslint/eslintrc": "^3.3.5", "@eslint/js": "^10.0.1", - "@freearhey/chronos": "^0.0.1", "@freearhey/core": "^0.15.2", - "@freearhey/search-js": "^0.2.1", "@freearhey/storage-js": "^0.2.0", - "@iptv-org/sdk": "^1.3.0", "@inquirer/prompts": "^8.4.2", + "@iptv-org/sdk": "^1.3.0", "@octokit/core": "^7.0.6", "@octokit/plugin-paginate-rest": "^14.0.0", "@octokit/plugin-rest-endpoint-methods": "^17.0.0", @@ -52,24 +49,18 @@ "@swc/jest": "^0.2.39", "@types/cli-progress": "^3.11.6", "@types/fs-extra": "^11.0.4", - "@types/inquirer": "^9.0.9", "@types/jest": "^30.0.0", "@types/langs": "^2.0.5", "@types/lodash.merge": "^4.6.9", - "@types/lodash.orderby": "^4.6.9", - "@types/lodash.sortby": "^4.7.9", - "@types/lodash.startcase": "^4.4.9", - "@types/lodash.uniqby": "^4.7.9", "@types/node": "^25.6.0", "@types/pako": "^2.0.4", "axios": "^1.15.0", + "axios-mock-adapter": "^2.1.0", "chalk": "^5.6.2", "cheerio": "^1.2.0", "cli-progress": "^3.12.0", "commander": "^14.0.3", - "consola": "^3.4.2", "cross-env": "^10.1.0", - "csv-parser": "^3.2.0", "curl-generator": "^0.5.0", "dayjs": "^1.11.20", "epg-grabber": "^0.46.1", @@ -77,7 +68,6 @@ "eslint": "^10.2.1", "eslint-config-prettier": "^10.1.8", "fs-extra": "^11.3.4", - "glob": "^13.0.6", "globals": "^17.5.0", "husky": "^9.1.7", "iconv-lite": "^0.7.2", @@ -85,7 +75,6 @@ "langs": "^2.0.0", "libxml2-wasm": "^0.7.1", "lodash.merge": "^4.6.2", - "lodash.orderby": "^4.18.0", "lodash.sortby": "^4.7.0", "lodash.startcase": "^4.4.0", "lodash.uniqby": "^4.7.0", @@ -93,14 +82,15 @@ "pako": "^2.1.0", "parse-duration": "^2.1.6", "pm2": "^6.0.14", + "sax": "^1.6.0", "serve": "^14.2.6", "socks-proxy-agent": "^10.0.0", - "srcset": "^5.0.3", "table2array": "^0.0.2", "tabletojson": "^4.1.10", "tsx": "^4.21.0", "typescript": "^6.0.3", "typescript-eslint": "^8.59.0", - "uuid": "^14.0.0" + "uuid": "^14.0.0", + "xml-js-v2": "^2.1.1" } } diff --git a/sites/dsmart.com.tr/dsmart.com.tr.config.js b/sites/dsmart.com.tr/dsmart.com.tr.config.js index 9c2a69254..d79627b46 100644 --- a/sites/dsmart.com.tr/dsmart.com.tr.config.js +++ b/sites/dsmart.com.tr/dsmart.com.tr.config.js @@ -3,13 +3,11 @@ const utc = require('dayjs/plugin/utc') const customParseFormat = require('dayjs/plugin/customParseFormat') const duration = require('dayjs/plugin/duration') const doFetch = require('../../scripts/core/multifetch') -const debug = require('debug')('site:dsmart.com.tr') dayjs.extend(utc) dayjs.extend(customParseFormat) dayjs.extend(duration) -doFetch.setDebugger(debug) const channelsWithSchedule = true const pageLimit = 10 diff --git a/sites/hoy.tv/hoy.tv.config.js b/sites/hoy.tv/hoy.tv.config.js index 30cc2b823..40eb0b7cf 100644 --- a/sites/hoy.tv/hoy.tv.config.js +++ b/sites/hoy.tv/hoy.tv.config.js @@ -1,5 +1,5 @@ const axios = require('axios') -const convert = require('xml-js') +const convert = require('xml-js-v2') const dayjs = require('dayjs') const timezone = require('dayjs/plugin/timezone') diff --git a/sites/mncvision.id/mncvision.id.config.js b/sites/mncvision.id/mncvision.id.config.js index fe8112882..6cbdcc75f 100644 --- a/sites/mncvision.id/mncvision.id.config.js +++ b/sites/mncvision.id/mncvision.id.config.js @@ -5,14 +5,11 @@ const utc = require('dayjs/plugin/utc') const timezone = require('dayjs/plugin/timezone') const customParseFormat = require('dayjs/plugin/customParseFormat') const doFetch = require('../../scripts/core/multifetch') -const debug = require('debug')('site:mncvision.id') dayjs.extend(utc) dayjs.extend(timezone) dayjs.extend(customParseFormat) -doFetch.setCheckResult(false).setDebugger(debug) - const languages = { en: 'english', id: 'indonesia' } const cookies = {} const timeout = 30000 diff --git a/sites/mujtvprogram.cz/mujtvprogram.cz.channels.xml b/sites/mujtvprogram.cz/mujtvprogram.cz.channels.xml index ad0cf9a3e..bb7d3d849 100644 --- a/sites/mujtvprogram.cz/mujtvprogram.cz.channels.xml +++ b/sites/mujtvprogram.cz/mujtvprogram.cz.channels.xml @@ -13,6 +13,7 @@ Warner TV Viasat True Crime DVTV Extra + JOJ Svět 3SAT Canal 24 Horas A11 @@ -188,7 +189,6 @@ Markíza Krimi JOJ 24 TV Spark - JOJ Svet JOJ Šport Markíza KLASIK JOJ Šport 2 @@ -201,7 +201,7 @@ JOJ Family Jojko PLUS - WAU + JOJ Krimi Markíza Dajto Doma diff --git a/sites/mujtvprogram.cz/mujtvprogram.cz.config.js b/sites/mujtvprogram.cz/mujtvprogram.cz.config.js index 0a8ddb95c..15b2b4c36 100644 --- a/sites/mujtvprogram.cz/mujtvprogram.cz.config.js +++ b/sites/mujtvprogram.cz/mujtvprogram.cz.config.js @@ -2,7 +2,7 @@ const dayjs = require('dayjs') const utc = require('dayjs/plugin/utc') const timezone = require('dayjs/plugin/timezone') const customParseFormat = require('dayjs/plugin/customParseFormat') -const convert = require('xml-js') +const convert = require('xml-js-v2') dayjs.extend(utc) dayjs.extend(timezone) diff --git a/sites/rotana.net/rotana.net.config.js b/sites/rotana.net/rotana.net.config.js index 4ea6561bc..aae77abe0 100644 --- a/sites/rotana.net/rotana.net.config.js +++ b/sites/rotana.net/rotana.net.config.js @@ -5,14 +5,11 @@ const timezone = require('dayjs/plugin/timezone') const utc = require('dayjs/plugin/utc') const customParseFormat = require('dayjs/plugin/customParseFormat') const doFetch = require('../../scripts/core/multifetch') -const debug = require('debug')('site:rotana.net') dayjs.extend(timezone) dayjs.extend(utc) dayjs.extend(customParseFormat) -doFetch.setCheckResult(false).setDebugger(debug) - const tz = 'Asia/Riyadh' const defaultHeaders = { 'User-Agent': diff --git a/sites/startimestv.com/startimestv.com.config.js b/sites/startimestv.com/startimestv.com.config.js index 49997dbfb..4fdf399ad 100644 --- a/sites/startimestv.com/startimestv.com.config.js +++ b/sites/startimestv.com/startimestv.com.config.js @@ -3,12 +3,10 @@ const dayjs = require('dayjs') const utc = require('dayjs/plugin/utc') const customParseFormat = require('dayjs/plugin/customParseFormat') const doFetch = require('../../scripts/core/multifetch') -const debug = require('debug')('site:startimestv.com') dayjs.extend(utc) dayjs.extend(customParseFormat) -doFetch.setDebugger(debug).setMaxWorker(5) module.exports = { site: 'startimestv.com', diff --git a/sites/tivie.id/tivie.id.config.js b/sites/tivie.id/tivie.id.config.js index 157b65bb7..87d025c3c 100644 --- a/sites/tivie.id/tivie.id.config.js +++ b/sites/tivie.id/tivie.id.config.js @@ -5,14 +5,11 @@ const utc = require('dayjs/plugin/utc') const timezone = require('dayjs/plugin/timezone') const customParseFormat = require('dayjs/plugin/customParseFormat') const doFetch = require('../../scripts/core/multifetch') -const debug = require('debug')('site:tivie.id') dayjs.extend(utc) dayjs.extend(timezone) dayjs.extend(customParseFormat) -doFetch.setDebugger(debug) - const tz = 'Asia/Jakarta' module.exports = { diff --git a/sites/tvguide.com/tvguide.com.config.js b/sites/tvguide.com/tvguide.com.config.js index 9f47d0b35..ce2a1f91c 100644 --- a/sites/tvguide.com/tvguide.com.config.js +++ b/sites/tvguide.com/tvguide.com.config.js @@ -2,7 +2,6 @@ const axios = require('axios') const dayjs = require('dayjs') const utc = require('dayjs/plugin/utc') const timezone = require('dayjs/plugin/timezone') -const debug = require('debug')('site:tvguide.com') dayjs.extend(utc) dayjs.extend(timezone) @@ -67,12 +66,12 @@ module.exports = { if (queues.length && fetchSegments) { for (let segment = 2; segment <= segments; segment++) { const segmentUrl = await module.exports.url({ date, segment }) - debug(`fetch segment ${segment}: ${segmentUrl}`) + console.debug(`fetch segment ${segment}: ${segmentUrl}`) try { const res = await axios.get(segmentUrl, { headers }) queues.push(...f(res.data)) } catch (err) { - debug(`Failed to fetch segment ${segment}: ${err.message}`) + console.debug(`Failed to fetch segment ${segment}: ${err.message}`) } } } @@ -92,7 +91,7 @@ module.exports = { stop: dayjs.unix(item.endTime || queue.i.endTime) }) } catch (err) { - debug(`Failed to fetch program details ${queue.url}: ${err.message}`) + console.debug(`Failed to fetch program details ${queue.url}: ${err.message}`) } } return programs diff --git a/sites/virgintvgo.virginmedia.com/virgintvgo.virginmedia.com.config.js b/sites/virgintvgo.virginmedia.com/virgintvgo.virginmedia.com.config.js index 9a3083df1..55cd3a4b7 100644 --- a/sites/virgintvgo.virginmedia.com/virgintvgo.virginmedia.com.config.js +++ b/sites/virgintvgo.virginmedia.com/virgintvgo.virginmedia.com.config.js @@ -1,12 +1,9 @@ const dayjs = require('dayjs') const utc = require('dayjs/plugin/utc') const doFetch = require('../../scripts/core/multifetch') -const debug = require('debug')('site:virgintvgo.virginmedia.com') dayjs.extend(utc) -doFetch.setDebugger(debug) - const detailedGuide = true module.exports = { diff --git a/sites/ziggogo.tv/ziggogo.tv.config.js b/sites/ziggogo.tv/ziggogo.tv.config.js index 046a4829e..a91cd5137 100644 --- a/sites/ziggogo.tv/ziggogo.tv.config.js +++ b/sites/ziggogo.tv/ziggogo.tv.config.js @@ -1,6 +1,6 @@ const dayjs = require('dayjs') const utc = require('dayjs/plugin/utc') -const doFetch = require('@ntlab/sfetch') +const doFetch = require('../../scripts/core/multifetch') const uniqBy = require('lodash.uniqby') dayjs.extend(utc)