diff --git a/.github/workflows/npm-publish.yml b/.github/workflows/npm-publish.yml index a29c1ded2..db6068387 100644 --- a/.github/workflows/npm-publish.yml +++ b/.github/workflows/npm-publish.yml @@ -2,9 +2,9 @@ name: Node.js Package on: release: - types: [created] + types: [ created ] workflow_dispatch: - branches: [master] + branches: [ master ] jobs: build: diff --git a/.github/workflows/push-build.yml b/.github/workflows/push-build.yml new file mode 100644 index 000000000..bec9e2058 --- /dev/null +++ b/.github/workflows/push-build.yml @@ -0,0 +1,39 @@ +name: Compile TS + +on: + workflow_run: + workflows: ["Node.js CI"] + types: + - completed + +jobs: + build: + runs-on: ubuntu-latest + steps: + # run only if this is a pull request + - name: Check if pull request + id: pr + run: echo "::set-output name=is_pr::$(test ${{ github.event.workflow_run.event.pull_request }} -eq 1 && echo true || echo false)" + # exit if this is not a pull request + - name: Exit if not pull request + if: steps.pr.outputs.is_pr == 'false' + run: exit 0 + + # clone the repo + - name: Checkout + uses: actions/checkout@v3 + + # compile typescript + - name: Compile TS + run: npm run build + + # push changes to the pull request + - name: Push changes + uses: stefanzweifel/git-auto-commit-action@v4 + with: + commit_message: 'build: compile typescript' + commit_options: '--no-verify' + repository: ${{ github.repository }} + branch: ${{ github.head_ref }} + + \ No newline at end of file diff --git a/dist/extractors/asianload.js b/dist/extractors/asianload.js index d95687cf0..2ec0cfc34 100644 --- a/dist/extractors/asianload.js +++ b/dist/extractors/asianload.js @@ -3,7 +3,6 @@ var __importDefault = (this && this.__importDefault) || function (mod) { return (mod && mod.__esModule) ? mod : { "default": mod }; }; Object.defineProperty(exports, "__esModule", { value: true }); -const axios_1 = __importDefault(require("axios")); const cheerio_1 = require("cheerio"); const crypto_js_1 = __importDefault(require("crypto-js")); const models_1 = require("../models"); @@ -18,10 +17,10 @@ class AsianLoad extends models_1.VideoExtractor { }; this.extract = async (videoUrl) => { var _a, _b, _c; - const res = await axios_1.default.get(videoUrl.href); + const res = await this.client.get(videoUrl.href); const $ = (0, cheerio_1.load)(res.data); const encyptedParams = await this.generateEncryptedAjaxParams($, (_a = videoUrl.searchParams.get('id')) !== null && _a !== void 0 ? _a : ''); - const encryptedData = await axios_1.default.get(`${videoUrl.protocol}//${videoUrl.hostname}/encrypt-ajax.php?${encyptedParams}`, { + const encryptedData = await this.client.get(`${videoUrl.protocol}//${videoUrl.hostname}/encrypt-ajax.php?${encyptedParams}`, { headers: { 'X-Requested-With': 'XMLHttpRequest', }, diff --git a/dist/extractors/asianload.js.map b/dist/extractors/asianload.js.map index 0ad1191d5..06a3a08e7 100644 --- a/dist/extractors/asianload.js.map +++ b/dist/extractors/asianload.js.map @@ -1 +1 @@ -{"version":3,"file":"asianload.js","sourceRoot":"","sources":["../../src/extractors/asianload.ts"],"names":[],"mappings":";;;;;AAAA,kDAA0B;AAC1B,qCAA2C;AAC3C,0DAAiC;AAEjC,sCAA8D;AAG9D,MAAM,SAAU,SAAQ,uBAAc;IAAtC;;QACqB,eAAU,GAAG,WAAW,CAAC;QACzB,YAAO,GAAa,EAAE,CAAC;QAEzB,SAAI,GAAG;YACtB,GAAG,EAAE,mBAAQ,CAAC,GAAG,CAAC,IAAI,CAAC,KAAK,CAAC,kCAAkC,CAAC;YAChE,EAAE,EAAE,mBAAQ,CAAC,GAAG,CAAC,IAAI,CAAC,KAAK,CAAC,kBAAkB,CAAC;SAChD,CAAC;QAEO,YAAO,GAAG,KAAK,EAAE,QAAa,EAA+D,EAAE;;YACtG,MAAM,GAAG,GAAG,MAAM,eAAK,CAAC,GAAG,CAAC,QAAQ,CAAC,IAAI,CAAC,CAAC;YAC3C,MAAM,CAAC,GAAG,IAAA,cAAI,EAAC,GAAG,CAAC,IAAI,CAAC,CAAC;YAEzB,MAAM,cAAc,GAAG,MAAM,IAAI,CAAC,2BAA2B,CAAC,CAAC,EAAE,MAAA,QAAQ,CAAC,YAAY,CAAC,GAAG,CAAC,IAAI,CAAC,mCAAI,EAAE,CAAC,CAAC;YAExG,MAAM,aAAa,GAAG,MAAM,eAAK,CAAC,GAAG,CACn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,EAAE;aACjB,CAAC,CAAC,QAAQ,CAAC,mBAAQ,CAAC,GAAG,CAAC,IAAI,CAAC,CAAC;YAE/B,OAAO,MAAM,YAAY,UAAU,cAAc,EAAE,CAAC;QACtD,CAAC,CAAC;QAEM,oBAAe,GAAG,KAAK,EAAE,aAAqB,EAAgB,EAAE;YACtE,MAAM,aAAa,GAAG,mBAAQ,CAAC,GAAG,CAAC,IAAI,CAAC,SAAS,CAC/C,mBAAQ,CAAC,GAAG,CAAC,OAAO,CAAC,aAAa,EAAE,IAAI,CAAC,IAAI,CAAC,GAAG,EAAE;gBACjD,EAAE,EAAE,IAAI,CAAC,IAAI,CAAC,EAAE;aACjB,CAAC,CACH,CAAC;YAEF,OAAO,IAAI,CAAC,KAAK,CAAC,aAAa,CAAC,CAAC;QACnC,CAAC,CAAC;IACJ,CAAC;CAAA;AAED,kBAAe,SAAS,CAAC"} \ No newline at end of file diff --git a/dist/extractors/gogocdn.js b/dist/extractors/gogocdn.js index 78263868c..e9305efe3 100644 --- a/dist/extractors/gogocdn.js +++ b/dist/extractors/gogocdn.js @@ -22,10 +22,10 @@ class GogoCDN extends models_1.VideoExtractor { this.extract = async (videoUrl) => { var _a; this.referer = videoUrl.href; - const res = await axios_1.default.get(videoUrl.href); + const res = await this.client.get(videoUrl.href); const $ = (0, cheerio_1.load)(res.data); const encyptedParams = await this.generateEncryptedAjaxParams($, (_a = videoUrl.searchParams.get('id')) !== null && _a !== void 0 ? _a : ''); - const encryptedData = await axios_1.default.get(`${videoUrl.protocol}//${videoUrl.hostname}/encrypt-ajax.php?${encyptedParams}`, { + const encryptedData = await this.client.get(`${videoUrl.protocol}//${videoUrl.hostname}/encrypt-ajax.php?${encyptedParams}`, { headers: { 'X-Requested-With': 'XMLHttpRequest', }, diff --git a/dist/extractors/gogocdn.js.map b/dist/extractors/gogocdn.js.map index f8da6a4a0..11975cd46 100644 --- a/dist/extractors/gogocdn.js.map +++ b/dist/extractors/gogocdn.js.map @@ -1 +1 @@ -{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AAI,CAAC,IAAI,CAAC,GAAG,EAAE;gBAC3D,EAAE,EAAE,IAAI,CAAC,IAAI,CAAC,EAAE;aACjB,CAAC,CAAC;YAEH,MAAM,WAAW,GAAG,CAAC,CAAC,6BAA6B,CAAC,CAAC,IAAI,EAAE,CAAC,KAAe,CAAC;YAE5E,MAAM,cAAc,GAAG,mBAAQ,CAAC,GAAG,CAAC,OAAO,CAAC,WAAW,EAAE,IAAI,CAAC,IAAI,CAAC,GAAG,EAAE;gBACtE,EAAE,EAAE,IAAI,CAAC,IAAI,CAAC,EAAE;aACjB,CAAC,CAAC,QAAQ,CAAC,mBAAQ,CAAC,GAAG,CAAC,IAAI,CAAC,CAAC;YAE/B,OAAO,MAAM,YAAY,UAAU,EAAE,IAAI,cAAc,EAAE,CAAC;QAC5D,CAAC,CAAC;QAEM,oBAAe,GAAG,KAAK,EAAE,aAAqB,EAAgB,EAAE;YACtE,MAAM,aAAa,GAAG,mBAAQ,CAAC,GAAG,CAAC,IAAI,CAAC,SAAS,CAC/C,mBAAQ,CAAC,GAAG,CAAC,OAAO,CAAC,aAAa,EAAE,IAAI,CAAC,IAAI,CAAC,SAAS,EAAE;gBACvD,EAAE,EAAE,IAAI,CAAC,IAAI,CAAC,EAAE;aACjB,CAAC,CACH,CAAC;YAEF,OAAO,IAAI,CAAC,KAAK,CAAC,aAAa,CAAC,CAAC;QACnC,CAAC,CAAC;IACJ,CAAC;CAAA;AAED,kBAAe,OAAO,CAAC"} \ No newline at end of file diff --git a/dist/extractors/kwik.js b/dist/extractors/kwik.js index 904d3cedb..95bd51ee2 100644 --- a/dist/extractors/kwik.js +++ b/dist/extractors/kwik.js @@ -1,9 +1,5 @@ "use strict"; -var __importDefault = (this && this.__importDefault) || function (mod) { - return (mod && mod.__esModule) ? mod : { "default": mod }; -}; Object.defineProperty(exports, "__esModule", { value: true }); -const axios_1 = __importDefault(require("axios")); const models_1 = require("../models"); class Kwik extends models_1.VideoExtractor { constructor() { @@ -13,7 +9,7 @@ class Kwik extends models_1.VideoExtractor { this.host = 'https://animepahe.com'; this.extract = async (videoUrl) => { try { - const { data } = await axios_1.default.get(`${videoUrl.href}`, { + const { data } = await this.client.get(`${videoUrl.href}`, { headers: { Referer: this.host }, }); const source = eval(/(eval)(\(f.*?)(\n<\/script>)/s.exec(data)[2].replace('eval', '')).match(/https.*?m3u8/); diff --git a/dist/extractors/kwik.js.map b/dist/extractors/kwik.js.map index 9563eee02..f185d1e2a 100644 --- a/dist/extractors/kwik.js.map +++ b/dist/extractors/kwik.js.map @@ -1 +1 @@ -{"version":3,"file":"kwik.js","sourceRoot":"","sources":["../../src/extractors/kwik.ts"],"names":[],"mappings":";;;;;AAAA,kDAA0B;AAE1B,sCAAmD;AAEnD,MAAM,IAAK,SAAQ,uBAAc;IAAjC;;QACqB,eAAU,GAAG,MAAM,CAAC;QACpB,YAAO,GAAa,EAAE,CAAC;QAEzB,SAAI,GAAG,uBAAuB,CAAC;QAEvC,YAAO,GAAG,KAAK,EAAE,QAAa,EAAqB,EAAE;YAC5D,IAAI;gBACF,MAAM,EAAE,IAAI,EAAE,GAAG,MAAM,eAAK,CAAC,GAAG,CAAC,GAAG,QAAQ,CAAC,IAAI,EAAE,EAAE;oBACnD,OAAO,EAAE,EAAE,OAAO,EAAE,IAAI,CAAC,IAAI,EAAE;iBAChC,CAAC,CAAC;gBAEH,MAAM,MAAM,GAAG,IAAI,CAAC,+BAA+B,CAAC,IAAI,CAAC,IAAI,CAAE,CAAC,CAAC,CAAC,CAAC,OAAO,CAAC,MAAM,EAAE,EAAE,CAAC,CAAC,CAAC,KAAK,CAC3F,cAAc,CACf,CAAC;gBAEF,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC;oBAChB,GAAG,EAAE,MAAM,CAAC,CAAC,CAAC;oBACd,MAAM,EAAE,MAAM,CAAC,CAAC,CAAC,CAAC,QAAQ,CAAC,OAAO,CAAC;iBACpC,CAAC,CAAC;gBAEH,OAAO,IAAI,CAAC,OAAO,CAAC;aACrB;YAAC,OAAO,GAAG,EAAE;gBACZ,MAAM,IAAI,KAAK,CAAE,GAAa,CAAC,OAAO,CAAC,CAAC;aACzC;QACH,CAAC,CAAC;IACJ,CAAC;CAAA;AACD,kBAAe,IAAI,CAAC"} \ No newline at end of file +{"version":3,"file":"kwik.js","sourceRoot":"","sources":["../../src/extractors/kwik.ts"],"names":[],"mappings":";;AAEA,sCAAmD;AAEnD,MAAM,IAAK,SAAQ,uBAAc;IAAjC;;QACqB,eAAU,GAAG,MAAM,CAAC;QACpB,YAAO,GAAa,EAAE,CAAC;QAEzB,SAAI,GAAG,uBAAuB,CAAC;QAEvC,YAAO,GAAG,KAAK,EAAE,QAAa,EAAqB,EAAE;YAC5D,IAAI;gBACF,MAAM,EAAE,IAAI,EAAE,GAAG,MAAM,IAAI,CAAC,MAAM,CAAC,GAAG,CAAC,GAAG,QAAQ,CAAC,IAAI,EAAE,EAAE;oBACzD,OAAO,EAAE,EAAE,OAAO,EAAE,IAAI,CAAC,IAAI,EAAE;iBAChC,CAAC,CAAC;gBAEH,MAAM,MAAM,GAAG,IAAI,CAAC,+BAA+B,CAAC,IAAI,CAAC,IAAI,CAAE,CAAC,CAAC,CAAC,CAAC,OAAO,CAAC,MAAM,EAAE,EAAE,CAAC,CAAC,CAAC,KAAK,CAC3F,cAAc,CACf,CAAC;gBAEF,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC;oBAChB,GAAG,EAAE,MAAM,CAAC,CAAC,CAAC;oBACd,MAAM,EAAE,MAAM,CAAC,CAAC,CAAC,CAAC,QAAQ,CAAC,OAAO,CAAC;iBACpC,CAAC,CAAC;gBAEH,OAAO,IAAI,CAAC,OAAO,CAAC;aACrB;YAAC,OAAO,GAAG,EAAE;gBACZ,MAAM,IAAI,KAAK,CAAE,GAAa,CAAC,OAAO,CAAC,CAAC;aACzC;QACH,CAAC,CAAC;IACJ,CAAC;CAAA;AACD,kBAAe,IAAI,CAAC"} \ No newline at end of file diff --git a/dist/extractors/mixdrop.js b/dist/extractors/mixdrop.js index 4b1b58f25..e668d0f0f 100644 --- a/dist/extractors/mixdrop.js +++ b/dist/extractors/mixdrop.js @@ -1,9 +1,5 @@ "use strict"; -var __importDefault = (this && this.__importDefault) || function (mod) { - return (mod && mod.__esModule) ? mod : { "default": mod }; -}; Object.defineProperty(exports, "__esModule", { value: true }); -const axios_1 = __importDefault(require("axios")); const models_1 = require("../models"); class MixDrop extends models_1.VideoExtractor { constructor() { @@ -12,7 +8,7 @@ class MixDrop extends models_1.VideoExtractor { this.sources = []; this.extract = async (videoUrl) => { try { - const { data } = await axios_1.default.get(videoUrl.href); + const { data } = await this.client.get(videoUrl.href); const formated = eval(/(eval)(\(f.*?)(\n<\/script>)/s.exec(data)[2].replace('eval', '')); const [poster, source] = formated .match(/poster="([^"]+)"|wurl="([^"]+)"/g) diff --git a/dist/extractors/mixdrop.js.map b/dist/extractors/mixdrop.js.map index acd05b63e..1b5a0b959 100644 --- a/dist/extractors/mixdrop.js.map +++ b/dist/extractors/mixdrop.js.map @@ -1 +1 @@ -{"version":3,"file":"mixdrop.js","sourceRoot":"","sources":["../../src/extractors/mixdrop.ts"],"names":[],"mappings":";;;;;AAAA,kDAA0B;AAE1B,sCAAmD;AAEnD,MAAM,OAAQ,SAAQ,uBAAc;IAApC;;QACqB,eAAU,GAAG,SAAS,CAAC;QACvB,YAAO,GAAa,EAAE,CAAC;QAEjC,YAAO,GAAG,KAAK,EAAE,QAAa,EAAqB,EAAE;YAC5D,IAAI;gBACF,MAAM,EAAE,IAAI,EAAE,GAAG,MAAM,eAAK,CAAC,GAAG,CAAC,QAAQ,CAAC,IAAI,CAAC,CAAC;gBAEhD,MAAM,QAAQ,GAAG,IAAI,CAAC,+BAA+B,CAAC,IAAI,CAAC,IAAI,CAAE,CAAC,CAAC,CAAC,CAAC,OAAO,CAAC,MAAM,EAAE,EAAE,CAAC,CAAC,CAAC;gBAE1F,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,GAAG,QAAQ;qBAC9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,CAAC;gBAE1F,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,GAAG,QAAQ;qBAC9B,KAAK,CAAC,kCAAkC,CAAC;qBACzC,GAAG,CAAC,CAAC,CAAS,EAAE,EAAE,CAAC,CAAC,CAAC,KAAK,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC,CAAC,OAAO,CAAC,IAAI,EAAE,EAAE,CAAC,CAAC;qBACtD,GAAG,CAAC,CAAC,CAAS,EAAE,EAAE,CAAC,CAAC,CAAC,CAAC,UAAU,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,SAAS,CAAC,EAAE,CAAC,CAAC,CAAC;gBAEjE,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC;oBAChB,GAAG,EAAE,MAAM;oBACX,MAAM,EAAE,MAAM,CAAC,QAAQ,CAAC,OAAO,CAAC;oBAChC,MAAM,EAAE,MAAM;iBACf,CAAC,CAAC;gBAEH,OAAO,IAAI,CAAC,OAAO,CAAC;aACrB;YAAC,OAAO,GAAG,EAAE;gBACZ,MAAM,IAAI,KAAK,CAAE,GAAa,CAAC,OAAO,CAAC,CAAC;aACzC;QACH,CAAC,CAAC;IACJ,CAAC;CAAA;AACD,kBAAe,OAAO,CAAC"} \ No newline at end of file diff --git a/dist/extractors/rapidcloud.js b/dist/extractors/rapidcloud.js index 428a0a7fd..58e14f710 100644 --- a/dist/extractors/rapidcloud.js +++ b/dist/extractors/rapidcloud.js @@ -43,12 +43,12 @@ class RapidCloud extends models_1.VideoExtractor { // validateStatus: status => true, // }); // } - res = await axios_1.default.get(`https://${videoUrl.hostname}/embed-2/ajax/e-1/getSources?id=${id}`, options); + res = await this.client.get(`https://${videoUrl.hostname}/embed-2/ajax/e-1/getSources?id=${id}`, options); let { data: { sources, tracks, intro, encrypted }, } = res; - let decryptKey = await (await axios_1.default.get('https://github.com/enimax-anime/key/blob/e6/key.txt')).data; + let decryptKey = await (await this.client.get('https://github.com/enimax-anime/key/blob/e6/key.txt')).data; decryptKey = (0, utils_1.substringBefore)((0, utils_1.substringAfter)(decryptKey, '"blob-code blob-code-inner js-file-line">'), ''); if (!decryptKey) { - decryptKey = await (await axios_1.default.get('https://raw.githubusercontent.com/enimax-anime/key/e6/key.txt')).data; + decryptKey = await (await this.client.get('https://raw.githubusercontent.com/enimax-anime/key/e6/key.txt')).data; } if (!decryptKey) decryptKey = this.fallbackKey; diff --git a/dist/extractors/rapidcloud.js.map b/dist/extractors/rapidcloud.js.map index 95a743a84..dc70f5207 100644 --- a/dist/extractors/rapidcloud.js.map +++ b/dist/extractors/rapidcloud.js.map @@ -1 +1 @@ -{"version":3,"file":"rapidcloud.js","sourceRoot":"","sources":["../../src/extractors/rapidcloud.ts"],"names":[],"mappings":";;;;;AAAA,kDAA0B;AAC1B,qCAA+B;AAC/B,0DAAiC;AACjC,oCAA2D;AAC3D,sCAAqE;AAErE,MAAM,UAAW,SAAQ,uBAAc;IAAvC;;QACqB,eAAU,GAAG,YAAY,CAAC;QAC1B,YAAO,GAAa,EAAE,CAAC;QAEzB,gBAAW,GAAG,kBAAkB,CAAC;QACjC,SAAI,GAAG,wBAAwB,CAAC;QAChC,gBAAW,GAAG,0BAA0B,CAAC;QACzC,aAAQ,GAAG,uBAAuB,CAAC;QAE3C,YAAO,GAAG,KAAK,EAAE,QAAa,EAA+D,EAAE;;YACtG,MAAM,MAAM,GAAiE;gBAC3E,OAAO,EAAE,EAAE;gBACX,SAAS,EAAE,EAAE;aACd,CAAC;YACF,IAAI;gBACF,MAAM,EAAE,GAAG,MAAA,QAAQ,CAAC,IAAI,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC,GAAG,EAAE,0CAAE,KAAK,CAAC,GAAG,EAAE,CAAC,CAAC,CAAC;gBACzD,MAAM,OAAO,GAAG;oBACd,OAAO,EAAE;wBACP,kBAAkB,EAAE,gBAAgB;qBACrC;iBACF,CAAC;gBAEF,IAAI,GAAG,GAAG,IAAI,CAAC;gBAEf,oCAAoC;gB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CAAC,IAAI,CAC1B,kDAAkD,GAAG,EAAE,EACvD;gBACE,CAAC,EAAE,CAAC;gBACJ,CAAC,EAAE,GAAG;gBACN,CAAC,EAAE,CAAC;gBACJ,EAAE,EAAE,sCAAsC;gBAC1C,EAAE,EAAE,EAAE;gBACN,MAAM,EAAE,GAAG;aACZ,EACD;gBACE,OAAO,EAAE;oBACP,OAAO,EAAE,MAAM;iBAChB;aACF,CACF,CAAC;YAEF,OAAO,GAAG,CAAC,IAAI,CAAC,SAAS,CAAC,GAAG,CAAC,IAAI,CAAC,OAAO,CAAC,UAAU,CAAC,EAAE,GAAG,CAAC,IAAI,CAAC,WAAW,CAAC,QAAQ,CAAC,CAAC,CAAC;QAC1F,CAAC,CAAC;QAEF,+CAA+C;QAC/C,kBAAkB;QAElB,+FAA+F;QAE/F,0BAA0B;QAC1B,qBAAqB;QACrB,QAAQ;QAER,oDAAoD;QACpD,2CAA2C;QAC3C,gCAAgC;QAChC,sCAAsC;QACtC,qDAAqD;QACrD,0CAA0C;QAC1C,wBAAwB;QACxB,UAAU;QACV,UAAU;QACV,QAAQ;QACR,KAAK;IACP,CAAC;CAAA;AAED,kBAAe,UAAU,CAAC"} \ No newline at end of file +{"version":3,"file":"rapidcloud.js","sourceRoot":"","sources":["../../src/extractors/rapidcloud.ts"],"names":[],"mappings":";;;;;AAAA,kDAA0B;AAC1B,qCAA+B;AAC/B,0DAAiC;AACjC,oCAA2D;AAC3D,sCAAkF;AAElF,MAAM,UAAW,SAAQ,uBAAc;IAAvC;;QACqB,eAAU,GAAG,YAAY,CAAC;QAC1B,YAAO,GAAa,EAAE,CAAC;QAEzB,gBAAW,GAAG,kBAAkB,CAAC;QACjC,SAAI,GAAG,wBAAwB,CAAC;QAChC,gBAAW,GAAG,0BAA0B,CAAC;QACzC,aAAQ,GAAG,uBAAuB,CAAC;QAE3C,YAAO,GAAG,KAAK,EAAE,QAAa,EAA+D,EAAE;;YACtG,MAAM,MAAM,GAAiE;gBAC3E,OAAO,E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,CAAC,WAAW,CAAC,YAAY,CAAC,EACrE,KAAK,CAAC,YAAY,EAAE,CAAC,CAAC,CAAC;YAE1B,uEAAuE;YACvE,MAAM,MAAM,GAAG,yFAAyF,GAAG,8CAA8C,CAAC,EAAE,CAAC;YAC7J,MAAM,CAAC,GAAG,IAAA,cAAI,EAAC,CAAC,MAAM,eAAK,CAAC,GAAG,CAAC,MAAM,CAAC,CAAC,CAAC,IAAI,CAAC,CAAC,kBAAkB,CAAC,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;YAEjF,4DAA4D;YAC5D,MAAM,GAAG,GAAG,MAAM,eAAK,CAAC,IAAI,CAC1B,kDAAkD,GAAG,EAAE,EACvD;gBACE,CAAC,EAAE,CAAC;gBACJ,CAAC,EAAE,GAAG;gBACN,CAAC,EAAE,CAAC;gBACJ,EAAE,EAAE,sCAAsC;gBAC1C,EAAE,EAAE,EAAE;gBACN,MAAM,EAAE,GAAG;aACZ,EACD;gBACE,OAAO,EAAE;oBACP,OAAO,EAAE,MAAM;iBAChB;aACF,CACF,CAAC;YAEF,OAAO,GAAG,CAAC,IAAI,CAAC,SAAS,CAAC,GAAG,CAAC,IAAI,CAAC,OAAO,CAAC,UAAU,CAAC,EAAE,GAAG,CAAC,IAAI,CAAC,WAAW,CAAC,QAAQ,CAAC,CAAC,CAAC;QAC1F,CAAC,CAAC;QAEF,+CAA+C;QAC/C,kBAAkB;QAElB,+FAA+F;QAE/F,0BAA0B;QAC1B,qBAAqB;QACrB,QAAQ;QAER,oDAAoD;QACpD,2CAA2C;QAC3C,gCAAgC;QAChC,sCAAsC;QACtC,qDAAqD;QACrD,0CAA0C;QAC1C,wBAAwB;QACxB,UAAU;QACV,UAAU;QACV,QAAQ;QACR,KAAK;IACP,CAAC;CAAA;AAED,kBAAe,UAAU,CAAC"} \ No newline at end of file diff --git a/dist/extractors/streamlare.d.ts b/dist/extractors/streamlare.d.ts index b2efc33fe..fc35de81d 100644 --- a/dist/extractors/streamlare.d.ts +++ b/dist/extractors/streamlare.d.ts @@ -1,4 +1,4 @@ -import { IVideo, ISource } from "../models"; +import { IVideo, ISource } from '../models'; import VideoExtractor from '../models/video-extractor'; declare class StreamLare extends VideoExtractor { protected serverName: string; diff --git a/dist/extractors/streamlare.js b/dist/extractors/streamlare.js index 68e5373cc..75055af16 100644 --- a/dist/extractors/streamlare.js +++ b/dist/extractors/streamlare.js @@ -9,32 +9,32 @@ const video_extractor_1 = __importDefault(require("../models/video-extractor")); class StreamLare extends video_extractor_1.default { constructor() { super(...arguments); - this.serverName = "StreamLare"; + this.serverName = 'StreamLare'; this.sources = []; - this.host = "https://streamlare.com"; - this.regex = new RegExp("/[ve]/([^?#&/]+)"); - this.USER_AGENT = "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/111.0.0.0 Safari/537.36"; + this.host = 'https://streamlare.com'; + this.regex = new RegExp('/[ve]/([^?#&/]+)'); + this.USER_AGENT = 'Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/111.0.0.0 Safari/537.36'; } async extract(videoUrl, userAgent = this.USER_AGENT.toString(), ...args) { var _a; - const res = await axios_1.default.get(videoUrl.href); + const res = await this.client.get(videoUrl.href); const $ = (0, cheerio_1.load)(res.data); - const CSRF_TOKEN = (_a = $("head > meta:nth-child(3)").attr("content")) === null || _a === void 0 ? void 0 : _a.toString(); + const CSRF_TOKEN = (_a = $('head > meta:nth-child(3)').attr('content')) === null || _a === void 0 ? void 0 : _a.toString(); const videoId = videoUrl.href.match(this.regex)[1]; if (videoId == undefined) { - throw new Error("Video id not matched!"); + throw new Error('Video id not matched!'); } - const POST = await axios_1.default.post(this.host + "/api/video/stream/get", { + const POST = await axios_1.default.post(this.host + '/api/video/stream/get', { id: videoId, }, { headers: { - "User-Agent": userAgent, - } + 'User-Agent': userAgent, + }, }); const POST_RES = POST.data; const result = { headers: { - "User-Agent": userAgent, + 'User-Agent': userAgent, }, status: POST_RES.status, message: POST_RES.message, @@ -42,8 +42,8 @@ class StreamLare extends video_extractor_1.default { token: POST_RES.token, sources: POST_RES.result, }; - if (POST_RES.status == "error") { - throw new Error("Request Failed! Error: " + POST_RES.message); + if (POST_RES.status == 'error') { + throw new Error('Request Failed! Error: ' + POST_RES.message); } return result; } diff --git a/dist/extractors/streamlare.js.map b/dist/extractors/streamlare.js.map index 6e72931d8..2c875bb50 100644 --- a/dist/extractors/streamlare.js.map +++ b/dist/extractors/streamlare.js.map @@ -1 +1 @@ -{"version":3,"file":"streamlare.js","sourceRoot":"","sources":["../../src/extractors/streamlare.ts"],"names":[],"mappings":";;;;;AAAA,kDAAyB;AACzB,qCAA8B;AAE9B,gFAAuD;AAEvD,MAAM,UAAW,SAAQ,yBAAc;IAAvC;;QACc,eAAU,GAAW,YAAY,CAAC;QAClC,YAAO,GAAa,EAAE,CAAC;QAEhB,SAAI,GAAG,wBAAwB,CAAC;QAEhC,UAAK,GAAG,IAAI,MAAM,CAAC,kBAAkB,CAAC,CAAC;QAEvC,eAAU,GAAG,uGAAuG,CAAA;IA2CzI,CAAC;IAzCG,KAAK,CAAC,OAAO,CAAC,QAAa,EAAE,YAAoB,IAAI,CAAC,UAAU,CAAC,QAAQ,EAAE,EAAE,GAAG,IAAS;;QACrF,MAAM,GAAG,GAAG,MAAM,eAAK,CAAC,GAAG,CAAC,QAAQ,CAAC,IAAI,CAAC,CAAC;QAE3C,MAAM,CAAC,GAAG,IAAA,cAAI,EAAC,GAAG,CAAC,IAAI,CAAC,CAAC;QAEzB,MAAM,UAAU,GAAG,MAAA,CAAC,CAAC,0BAA0B,CAAC,CAAC,IAAI,CAAC,SAAS,CAAC,0CAAE,QAAQ,EAAE,CAAC;QAE7E,MAAM,OAAO,GAAG,QAAQ,CAAC,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,KAAK,CAAE,CAAC,CAAC,CAAC,CAAC;QAEpD,IAAI,OAAO,IAAI,SAAS,EAAE;YACtB,MAAM,IAAI,KAAK,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/extractors/vidcloud.js index 2117fac3b..d54daf3d8 100644 --- a/dist/extractors/vidcloud.js +++ b/dist/extractors/vidcloud.js @@ -3,7 +3,6 @@ var __importDefault = (this && this.__importDefault) || function (mod) { return (mod && mod.__esModule) ? mod : { "default": mod }; }; Object.defineProperty(exports, "__esModule", { value: true }); -const axios_1 = __importDefault(require("axios")); const crypto_js_1 = __importDefault(require("crypto-js")); const models_1 = require("../models"); const utils_1 = require("../utils"); @@ -31,12 +30,12 @@ class VidCloud extends models_1.VideoExtractor { }; let res = undefined; let sources = undefined; - res = await axios_1.default.get(`${isAlternative ? this.host2 : this.host}/ajax/embed-4/getSources?id=${id}`, options); + res = await this.client.get(`${isAlternative ? this.host2 : this.host}/ajax/embed-4/getSources?id=${id}`, options); if (!(0, utils_1.isJson)(res.data.sources)) { - let { data: key } = await axios_1.default.get('https://github.com/enimax-anime/key/blob/e4/key.txt'); + let { data: key } = await this.client.get('https://github.com/enimax-anime/key/blob/e4/key.txt'); key = (0, utils_1.substringBefore)((0, utils_1.substringAfter)(key, '"blob-code blob-code-inner js-file-line">'), ''); if (!key) { - key = await (await axios_1.default.get('https://raw.githubusercontent.com/enimax-anime/key/e4/key.txt')).data; + key = await (await this.client.get('https://raw.githubusercontent.com/enimax-anime/key/e4/key.txt')).data; } const decryptedVal = crypto_js_1.default.AES.decrypt(res.data.sources, key).toString(crypto_js_1.default.enc.Utf8); sources = (0, utils_1.isJson)(decryptedVal) ? JSON.parse(decryptedVal) : res.data.sources; @@ -49,7 +48,7 @@ class VidCloud extends models_1.VideoExtractor { result.sources = []; this.sources = []; for (const source of sources) { - const { data } = await axios_1.default.get(source.file, options); + const { data } = await this.client.get(source.file, options); const urls = data.split('\n').filter((line) => line.includes('.m3u8')); const qualities = data.split('\n').filter((line) => line.includes('RESOLUTION=')); const TdArray = qualities.map((s, i) => { diff --git a/dist/extractors/vidcloud.js.map b/dist/extractors/vidcloud.js.map index 03a0bc746..9e0e8f57c 100644 --- a/dist/extractors/vidcloud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,EAAE,CAAC,CAAC,IAAI;oBACX,IAAI,EAAE,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,iBAAiB;iBAC5C,CAAC,CAAC,CAAC;gBAEJ,OAAO,MAAM,CAAC;aACf;YAAC,OAAO,GAAG,EAAE;gBACZ,MAAM,GAAG,CAAC;aACX;QACH,CAAC,CAAC;IACJ,CAAC;CAAA;AAED,kBAAe,QAAQ,CAAC"} \ No newline at end of file +{"version":3,"file":"vidcloud.js","sourceRoot":"","sources":["../../src/extractors/vidcloud.ts"],"names":[],"mappings":";;;;;AACA,0DAAiC;AAEjC,sCAAqE;AACrE,oCAA+E;AAE/E,MAAM,QAAS,SAAQ,uBAAc;IAArC;;QACqB,eAAU,GAAG,UAAU,CAAC;QACxB,YAAO,GAAa,EAAE,CAAC;QAEzB,SAAI,GAAG,uBAAuB,CAAC;QAC/B,UAAK,GAAG,0BAA0B,CAAC;QAE3C,YAAO,GAAG,KAAK,EACtB,QAAa,EACb,gBAAyB,KAAK,EAC+B,EAAE;;YAC/D,MAAM,MAAM,GAAiE;gBAC3E,OAAO,EAAE,EAAE;gBACX,SAAS,EAAE,EAAE;aACd,CAAC;YACF,IAAI;gBACF,MAAM,EAAE,GAAG,MAAA,QAAQ,CAAC,IAAI,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC,GAAG,EAAE,0CAAE,KAAK,CAAC,GAAG,EAAE,CAAC,CAAC,CAAC;gBACzD,MAAM,OAAO,GAAG;oBACd,OAAO,EAAE;wBACP,kBAAkB,EAAE,gBAAgB;wBACpC,OAAO,EAAE,QAAQ,CAAC,IAAI;wBACtB,YAAY,EAAE,kBAAU;qBACzB;iBACF,CAAC;gBACF,IAAI,GAAG,GAAG,SAAS,CAAC;gBACpB,IAAI,OAAO,GAAG,SAAS,CAAC;gBAExB,GAAG,GAAG,MAAM,IAAI,CAAC,MAAM,CAAC,GAAG,CACzB,GAAG,aAAa,CAAC,CAAC,CA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AAO,CAAC,CAAC,CAAC,CAAC,IAAI;oBACpB,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,IAAI,CAAC,QAAQ,CAAC,OAAO,CAAC;oBACzC,OAAO,EAAE,MAAM;iBAChB,CAAC,CAAC;gBAEH,MAAM,CAAC,SAAS,GAAG,GAAG,CAAC,IAAI,CAAC,MAAM,CAAC,GAAG,CAAC,CAAC,CAAM,EAAE,EAAE,CAAC,CAAC;oBAClD,GAAG,EAAE,CAAC,CAAC,IAAI;oBACX,IAAI,EAAE,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,iBAAiB;iBAC5C,CAAC,CAAC,CAAC;gBAEJ,OAAO,MAAM,CAAC;aACf;YAAC,OAAO,GAAG,EAAE;gBACZ,MAAM,GAAG,CAAC;aACX;QACH,CAAC,CAAC;IACJ,CAAC;CAAA;AAED,kBAAe,QAAQ,CAAC"} \ No newline at end of file diff --git a/dist/models/anime-parser.d.ts b/dist/models/anime-parser.d.ts index bb0c0fa15..a0cdc6b25 100644 --- a/dist/models/anime-parser.d.ts +++ b/dist/models/anime-parser.d.ts @@ -1,5 +1,6 @@ -import { BaseParser, IAnimeInfo, ISource, IEpisodeServer } from '.'; +import { BaseParser, IAnimeInfo, ISource, IEpisodeServer, ProxyConfig } from '.'; declare abstract class AnimeParser extends BaseParser { + constructor(baseUrl?: string, proxyConfig?: ProxyConfig); /** * if the provider has dub and it's avialable seperatly from sub set this to `true` */ diff --git a/dist/models/anime-parser.js b/dist/models/anime-parser.js index 6157928af..74c6e0d47 100644 --- a/dist/models/anime-parser.js +++ b/dist/models/anime-parser.js @@ -2,8 +2,8 @@ Object.defineProperty(exports, "__esModule", { value: true }); const _1 = require("."); class AnimeParser extends _1.BaseParser { - constructor() { - super(...arguments); + constructor(baseUrl, proxyConfig) { + super(baseUrl, proxyConfig); /** * if the provider has dub and it's avialable seperatly from sub set this to `true` */ diff --git a/dist/models/anime-parser.js.map b/dist/models/anime-parser.js.map index 612e96eb1..23d9461ef 100644 --- a/dist/models/anime-parser.js.map +++ b/dist/models/anime-parser.js.map @@ -1 +1 @@ -{"version":3,"file":"anime-parser.js","sourceRoot":"","sources":["../../src/models/anime-parser.ts"],"names":[],"mappings":";;AAAA,wBAAoE;AAEpE,MAAe,WAAY,SAAQ,aAAU;IAA7C;;QACE;;WAEG;QACgB,6BAAwB,GAAY,KAAK,CAAC;IAqB/D,CAAC;CAAA;AAED,kBAAe,WAAW,CAAC"} \ No newline at end of file +{"version":3,"file":"anime-parser.js","sourceRoot":"","sources":["../../src/models/anime-parser.ts"],"names":[],"mappings":";;AAAA,wBAAiF;AAEjF,MAAe,WAAY,SAAQ,aAAU;IAC3C,YAAY,OAAgB,EAAE,WAAyB;QACrD,KAAK,CAAC,OAAO,EAAE,WAAW,CAAC,CAAC;QAG9B;;WAEG;QACgB,6BAAwB,GAAY,KAAK,CAAC;IAL7D,CAAC;CA0BF;AAED,kBAAe,WAAW,CAAC"} \ No newline at end of file diff --git a/dist/models/base-parser.d.ts b/dist/models/base-parser.d.ts index 4367b04a7..19c0977d4 100644 --- a/dist/models/base-parser.d.ts +++ b/dist/models/base-parser.d.ts @@ -1,15 +1,7 @@ -import { AxiosInstance } from 'axios'; -import { BaseProvider, ProxyConfig } from '.'; -declare abstract class BaseParser extends BaseProvider { - constructor(baseUrl?: string, proxy?: ProxyConfig); - private validUrl; - /** - * Set or Change the proxy config - */ - setProxy(proxy: ProxyConfig): void; - private rotateProxy; - private toMap; - protected client: AxiosInstance; +import { ProxyConfig } from '.'; +import Proxy from './proxy'; +declare abstract class BaseParser extends Proxy.Provider { + constructor(baseUrl?: string, proxyConfig?: ProxyConfig); /** * Search for books/anime/manga/etc using the given query * diff --git a/dist/models/base-parser.js b/dist/models/base-parser.js index b73efce51..03aebf6c1 100644 --- a/dist/models/base-parser.js +++ b/dist/models/base-parser.js @@ -3,50 +3,10 @@ var __importDefault = (this && this.__importDefault) || function (mod) { return (mod && mod.__esModule) ? mod : { "default": mod }; }; Object.defineProperty(exports, "__esModule", { value: true }); -const axios_1 = __importDefault(require("axios")); -const _1 = require("."); -class BaseParser extends _1.BaseProvider { - constructor(baseUrl, proxy) { - super(); - this.validUrl = /^https?:\/\/.+/; - this.rotateProxy = (proxy, ms = 5000) => { - setInterval(() => { - const url = proxy.urls.shift(); - if (url) - proxy.urls.push(url); - this.setProxy({ url: proxy.urls[0], key: proxy.key }); - }, ms); - }; - this.toMap = (arr) => arr.map((v, i) => [i, v]); - this.client = axios_1.default.create({ - baseURL: baseUrl, - }); - if (proxy) - this.setProxy(proxy); - } - /** - * Set or Change the proxy config - */ - setProxy(proxy) { - if (!(proxy === null || proxy === void 0 ? void 0 : proxy.url)) - return; - if (typeof (proxy === null || proxy === void 0 ? void 0 : proxy.url) === 'string') - if (!this.validUrl.test(proxy.url)) - throw new Error('Proxy URL is invalid!'); - if (Array.isArray(proxy === null || proxy === void 0 ? void 0 : proxy.url)) { - for (const [i, url] of this.toMap(proxy.url)) - if (!this.validUrl.test(url)) - throw new Error(`Proxy URL at index ${i} is invalid!`); - this.rotateProxy(Object.assign(Object.assign({}, proxy), { urls: proxy.url })); - } - this.client.interceptors.request.use(config => { - var _a; - if (proxy === null || proxy === void 0 ? void 0 : proxy.url) { - config.headers = Object.assign(Object.assign({}, config.headers), { 'x-api-key': (_a = proxy === null || proxy === void 0 ? void 0 : proxy.key) !== null && _a !== void 0 ? _a : '', "Origin": "axios" }); - config.url = `${proxy.url}${config === null || config === void 0 ? void 0 : config.baseURL}${(config === null || config === void 0 ? void 0 : config.url) ? config === null || config === void 0 ? void 0 : config.url : ''}`; - } - return config; - }); +const proxy_1 = __importDefault(require("./proxy")); +class BaseParser extends proxy_1.default.Provider { + constructor(baseUrl, proxyConfig) { + super(baseUrl, proxyConfig); } } exports.default = BaseParser; diff --git a/dist/models/base-parser.js.map b/dist/models/base-parser.js.map index 0a05aae76..396a97886 100644 --- a/dist/models/base-parser.js.map +++ b/d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newline at end of file +{"version":3,"file":"base-parser.js","sourceRoot":"","sources":["../../src/models/base-parser.ts"],"names":[],"mappings":";;;;;AAGA,oDAA4B;AAE5B,MAAe,UAAW,SAAQ,eAAK,CAAC,QAAQ;IAC9C,YAAY,OAAgB,EAAE,WAAyB;QACrD,KAAK,CAAC,OAAO,EAAE,WAAW,CAAC,CAAC;IAC9B,CAAC;CAQF;AAED,kBAAe,UAAU,CAAC"} \ No newline at end of file diff --git a/dist/models/movie-parser.d.ts b/dist/models/movie-parser.d.ts index 2fe6b9d05..9e933ebe3 100644 --- a/dist/models/movie-parser.d.ts +++ b/dist/models/movie-parser.d.ts @@ -1,5 +1,6 @@ -import { BaseParser, TvType, ISource, IEpisodeServer, IMovieInfo, IAnimeInfo } from '.'; +import { BaseParser, TvType, ISource, IEpisodeServer, IMovieInfo, IAnimeInfo, ProxyConfig } from '.'; declare abstract class MovieParser extends BaseParser { + constructor(baseUrl?: string, proxyConfig?: ProxyConfig); /** * The supported types of the provider (e.g. `TV`, `Movie`) */ diff --git a/dist/models/movie-parser.js b/dist/models/movie-parser.js index eec2f5c6a..1c50b85ea 100644 --- a/dist/models/movie-parser.js +++ b/dist/models/movie-parser.js @@ -2,6 +2,9 @@ Object.defineProperty(exports, "__esModule", { value: true }); const _1 = require("."); class MovieParser extends _1.BaseParser { + constructor(baseUrl, proxyConfig) { + super(baseUrl, proxyConfig); + } } exports.default = MovieParser; //# sourceMappingURL=movie-parser.js.map \ No newline at end of file diff --git a/dist/models/movie-parser.js.map b/dist/models/movie-parser.js.map index 0cf6b2fec..e23fc0e2f 100644 --- a/dist/models/movie-parser.js.map +++ b/dist/models/movie-parser.js.map @@ -1 +1 @@ -{"version":3,"file":"movie-parser.js","sourceRoot":"","sources":["../../src/models/movie-parser.ts"],"names":[],"mappings":";;AAAA,wBAAwF;AAExF,MAAe,WAAY,SAAQ,aAAU;CA0B5C;AAED,kBAAe,WAAW,CAAC"} \ No newline at end of file +{"version":3,"file":"movie-parser.js","sourceRoot":"","sources":["../../src/models/movie-parser.ts"],"names":[],"mappings":";;AAAA,wBAAqG;AAErG,MAAe,WAAY,SAAQ,aAAU;IAC3C,YAAY,OAAgB,EAAE,WAAyB;QACrD,KAAK,CAAC,OAAO,EAAE,WAAW,CAAC,CAAC;IAC9B,CAAC;CA2BF;AAED,kBAAe,WAAW,CAAC"} \ No newline at end of file diff --git a/dist/models/proxy.d.ts b/dist/models/proxy.d.ts new file mode 100644 index 000000000..534b4845f --- /dev/null +++ b/dist/models/proxy.d.ts @@ -0,0 +1,28 @@ +import { AxiosInstance } from 'axios'; +import { ProxyConfig } from './types'; +import BaseProvider from './base-provider'; +declare namespace Proxy { + abstract class Provider extends BaseProvider { + constructor(baseUrl?: string, proxy?: ProxyConfig); + private validUrl; + /** + * Set or Change the proxy config + */ + setProxy(proxy: ProxyConfig): void; + private rotateProxy; + private toMap; + protected client: AxiosInstance; + } + class Extractor { + constructor(proxy?: ProxyConfig); + private validUrl; + /** + * Set or Change the proxy config + */ + setProxy(proxy: ProxyConfig): void; + private rotateProxy; + private toMap; + protected client: AxiosInstance; + } +} +export default Proxy; diff --git a/dist/models/proxy.js b/dist/models/proxy.js new file mode 100644 index 000000000..b412648f6 --- /dev/null +++ b/dist/models/proxy.js @@ -0,0 +1,102 @@ +"use strict"; +var __importDefault = (this && this.__importDefault) || function (mod) { + return (mod && mod.__esModule) ? mod : { "default": mod }; +}; +Object.defineProperty(exports, "__esModule", { value: true }); +const axios_1 = __importDefault(require("axios")); +const base_provider_1 = __importDefault(require("./base-provider")); +var Proxy; +(function (Proxy) { + class Provider extends base_provider_1.default { + constructor(baseUrl, proxy) { + super(); + this.validUrl = /^https?:\/\/.+/; + this.rotateProxy = (proxy, ms = 5000) => { + setInterval(() => { + const url = proxy.urls.shift(); + if (url) + proxy.urls.push(url); + this.setProxy({ url: proxy.urls[0], key: proxy.key }); + }, ms); + }; + this.toMap = (arr) => arr.map((v, i) => [i, v]); + if (baseUrl) + this.client = axios_1.default.create({ + baseURL: baseUrl, + }); + else + this.client = axios_1.default.create(); + if (proxy) + this.setProxy(proxy); + } + /** + * Set or Change the proxy config + */ + setProxy(proxy) { + if (!(proxy === null || proxy === void 0 ? void 0 : proxy.url)) + return; + if (typeof (proxy === null || proxy === void 0 ? void 0 : proxy.url) === 'string') + if (!this.validUrl.test(proxy.url)) + throw new Error('Proxy URL is invalid!'); + if (Array.isArray(proxy === null || proxy === void 0 ? void 0 : proxy.url)) { + for (const [i, url] of this.toMap(proxy.url)) + if (!this.validUrl.test(url)) + throw new Error(`Proxy URL at index ${i} is invalid!`); + this.rotateProxy(Object.assign(Object.assign({}, proxy), { urls: proxy.url })); + } + this.client.interceptors.request.use(config => { + var _a; + if (proxy === null || proxy === void 0 ? void 0 : proxy.url) { + config.headers = Object.assign(Object.assign({}, config.headers), { 'x-api-key': (_a = proxy === null || proxy === void 0 ? void 0 : proxy.key) !== null && _a !== void 0 ? _a : '', origin: 'axios' }); + config.url = `${proxy.url}/${config === null || config === void 0 ? void 0 : config.baseURL}${(config === null || config === void 0 ? void 0 : config.url) ? config === null || config === void 0 ? void 0 : config.url : ''}`; + } + return config; + }); + } + } + Proxy.Provider = Provider; + class Extractor { + constructor(proxy) { + this.validUrl = /^https?:\/\/.+/; + this.rotateProxy = (proxy, ms = 5000) => { + setInterval(() => { + const url = proxy.urls.shift(); + if (url) + proxy.urls.push(url); + this.setProxy({ url: proxy.urls[0], key: proxy.key }); + }, ms); + }; + this.toMap = (arr) => arr.map((v, i) => [i, v]); + this.client = axios_1.default.create(); + if (proxy) + this.setProxy(proxy); + } + /** + * Set or Change the proxy config + */ + setProxy(proxy) { + if (!(proxy === null || proxy === void 0 ? void 0 : proxy.url)) + return; + if (typeof (proxy === null || proxy === void 0 ? void 0 : proxy.url) === 'string') + if (!this.validUrl.test(proxy.url)) + throw new Error('Proxy URL is invalid!'); + if (Array.isArray(proxy === null || proxy === void 0 ? void 0 : proxy.url)) { + for (const [i, url] of this.toMap(proxy.url)) + if (!this.validUrl.test(url)) + throw new Error(`Proxy URL at index ${i} is invalid!`); + this.rotateProxy(Object.assign(Object.assign({}, proxy), { urls: proxy.url })); + } + this.client.interceptors.request.use(config => { + var _a; + if (proxy === null || proxy === void 0 ? void 0 : proxy.url) { + config.headers = Object.assign(Object.assign({}, config.headers), { 'x-api-key': (_a = proxy === null || proxy === void 0 ? void 0 : proxy.key) !== null && _a !== void 0 ? _a : '', Origin: 'axios' }); + config.url = `${proxy.url}/${(config === null || config === void 0 ? void 0 : config.url) ? config === null || config === void 0 ? void 0 : config.url : ''}`; + } + return config; + }); + } + } + Proxy.Extractor = Extractor; +})(Proxy || (Proxy = {})); +exports.default = Proxy; +//# sourceMappingURL=proxy.js.map \ No newline at end of file diff --git a/dist/models/proxy.js.map b/dist/models/proxy.js.map new file mode 100644 index 000000000..2761760ee --- /dev/null +++ b/dist/models/proxy.js.map @@ -0,0 +1 @@ +{"version":3,"file":"proxy.js","sourceRoot":"","sources":["../../src/models/proxy.ts"],"names":[],"mappings":";;;;;AAAA,kDAA6C;AAG7C,oEAA2C;AAE3C,IAAU,KAAK,CA0Gd;AA1GD,WAAU,KAAK;IACb,MAAsB,QAAS,SAAQ,uBAAY;QACjD,YAAY,OAAgB,EAAE,KAAmB;YAC/C,KAAK,EAAE,CAAC;YAUF,aAAQ,GAAG,gBAAgB,CAAC;YA8B5B,gBAAW,GAAG,CAAC,KAAoD,EAAE,KAAa,IAAI,EAAE,EAAE;gBAChG,WAAW,CAAC,GAAG,EAAE;oBACf,MAAM,GAAG,GAAG,KAAK,CAAC,IAAI,CAAC,KAAK,EAAE,CAAC;oBAC/B,IAAI,GAAG;wBAAE,KAAK,CAAC,IAAI,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC;oBAE9B,IAAI,CAAC,QAAQ,CAAC,EAAE,GAAG,EAAE,KAAK,CAAC,IAAI,CAAC,CAAC,CAAC,EAAE,GAAG,EAAE,KAAK,CAAC,GAAG,EAAE,CAAC,CAAC;gBACxD,CAAC,EAA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,KAAK,aAAL,KAAK,uBAAL,KAAK,CAAE,GAAG,mCAAI,EAAE,EAC7B,MAAM,EAAE,OAAO,GAChB,CAAC;oBACF,MAAM,CAAC,GAAG,GAAG,GAAG,KAAK,CAAC,GAAG,IAAI,CAAA,MAAM,aAAN,MAAM,uBAAN,MAAM,CAAE,GAAG,EAAC,CAAC,CAAC,MAAM,aAAN,MAAM,uBAAN,MAAM,CAAE,GAAG,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC;iBAC/D;gBACD,OAAO,MAAM,CAAC;YAChB,CAAC,CAAC,CAAC;QACL,CAAC;KAcF;IAhDY,eAAS,YAgDrB,CAAA;AACH,CAAC,EA1GS,KAAK,KAAL,KAAK,QA0Gd;AAED,kBAAe,KAAK,CAAC"} \ No newline at end of file diff --git a/dist/models/types.d.ts b/dist/models/types.d.ts index 7c369b3ad..056a95f1e 100644 --- a/dist/models/types.d.ts +++ b/dist/models/types.d.ts @@ -383,7 +383,6 @@ export declare enum Genres { CARS = "Cars", COMEDY = "Comedy", DRAMA = "Drama", - ECCHI = "Ecchi", FANTASY = "Fantasy", HORROR = "Horror", MAHOU_SHOUJO = "Mahou Shoujo", diff --git a/dist/models/types.js b/dist/models/types.js index 9b77e9f3a..079da92c8 100644 --- a/dist/models/types.js +++ b/dist/models/types.js @@ -13,7 +13,7 @@ var MediaFormat; MediaFormat["MANGA"] = "MANGA"; MediaFormat["NOVEL"] = "NOVEL"; MediaFormat["ONE_SHOT"] = "ONE_SHOT"; -})(MediaFormat || (exports.MediaFormat = MediaFormat = {})); +})(MediaFormat = exports.MediaFormat || (exports.MediaFormat = {})); var StreamingServers; (function (StreamingServers) { StreamingServers["AsianLoad"] = "asianload"; @@ -33,7 +33,7 @@ var StreamingServers; StreamingServers["StreamHub"] = "streamhub"; StreamingServers["StreamWish"] = "streamwish"; StreamingServers["VidMoly"] = "vidmoly"; -})(StreamingServers || (exports.StreamingServers = StreamingServers = {})); +})(StreamingServers = exports.StreamingServers || (exports.StreamingServers = {})); var MediaStatus; (function (MediaStatus) { MediaStatus["ONGOING"] = "Ongoing"; @@ -42,13 +42,13 @@ var MediaStatus; MediaStatus["CANCELLED"] = "Cancelled"; MediaStatus["NOT_YET_AIRED"] = "Not yet aired"; MediaStatus["UNKNOWN"] = "Unknown"; -})(MediaStatus || (exports.MediaStatus = MediaStatus = {})); +})(MediaStatus = exports.MediaStatus || (exports.MediaStatus = {})); var SubOrSub; (function (SubOrSub) { SubOrSub["SUB"] = "sub"; SubOrSub["DUB"] = "dub"; SubOrSub["BOTH"] = "both"; -})(SubOrSub || (exports.SubOrSub = SubOrSub = {})); +})(SubOrSub = exports.SubOrSub || (exports.SubOrSub = {})); /** * Used **only** for movie/tvshow providers */ @@ -57,7 +57,7 @@ var TvType; TvType["TVSERIES"] = "TV Series"; TvType["MOVIE"] = "Movie"; TvType["ANIME"] = "Anime"; -})(TvType || (exports.TvType = TvType = {})); +})(TvType = exports.TvType || (exports.TvType = {})); var Genres; (function (Genres) { Genres["ACTION"] = "Action"; @@ -65,7 +65,6 @@ var Genres; Genres["CARS"] = "Cars"; Genres["COMEDY"] = "Comedy"; Genres["DRAMA"] = "Drama"; - Genres["ECCHI"] = "Ecchi"; Genres["FANTASY"] = "Fantasy"; Genres["HORROR"] = "Horror"; Genres["MAHOU_SHOUJO"] = "Mahou Shoujo"; @@ -79,7 +78,7 @@ var Genres; Genres["SPORTS"] = "Sports"; Genres["SUPERNATURAL"] = "Supernatural"; Genres["THRILLER"] = "Thriller"; -})(Genres || (exports.Genres = Genres = {})); +})(Genres = exports.Genres || (exports.Genres = {})); var Topics; (function (Topics) { Topics["ANIME"] = "anime"; @@ -94,5 +93,5 @@ var Topics; Topics["PEOPLE"] = "people"; Topics["MERCH"] = "merch"; Topics["EVENTS"] = "events"; -})(Topics || (exports.Topics = Topics = {})); +})(Topics = exports.Topics || (exports.Topics = {})); //# sourceMappingURL=types.js.map \ No newline at end of file diff --git a/dist/models/types.js.map b/dist/models/types.js.map index c6bf22a80..9d34e1d5e 100644 --- a/dist/models/types.js.map +++ b/dist/models/types.js.map @@ -1 +1 @@ -{"version":3,"file":"types.js","sourceRoot":"","sources":["../../src/models/types.ts"],"names":[],"mappings":";;;AAuDA,IAAY,WAWX;AAXD,WAAY,WAAW;IACrB,wBAAS,CAAA;IACT,oCAAqB,CAAA;IACrB,8BAAe,CAAA;IACf,kCAAmB,CAAA;IACnB,0BAAW,CAAA;IACX,0BAAW,CAAA;IACX,8BAAe,CAAA;IACf,8BAAe,CAAA;IACf,8BAAe,CAAA;IACf,oCAAqB,CAAA;AACvB,CAAC,EAXW,WAAW,2BAAX,WAAW,QAWtB;AA6FD,IAAY,gBAkBX;AAlBD,WAAY,gBAAgB;IAC1B,2CAAuB,CAAA;IACvB,uCAAmB,CAAA;IACnB,yCAAqB,CAAA;IACrB,uCAAmB,CAAA;IACnB,2CAAuB,CAAA;IACvB,uCAAmB,CAAA;IACnB,yCAAqB,CAAA;IACrB,6CAAyB,CAAA;IACzB,yCAAqB,CAAA;IACrB,mBAAmB;IACnB,uCAAmB,CAAA;IACnB,yCAAqB,CAAA;IACrB,iDAA6B,CAAA;IAC7B,iDAA6B,CAAA;IAC7B,2CAAuB,CAAA;IACvB,6CAAyB,CAAA;IACzB,uCAAmB,CAAA;AACrB,CAAC,EAlBW,gBAAgB,gCAAhB,gBAAgB,QAkB3B;AAED,IAAY,WAOX;AAPD,WAAY,WAAW;IACrB,kCAAmB,CAAA;IACnB,sCAAuB,CAAA;IACvB,gCAAiB,CAAA;IACjB,sCAAuB,CAAA;IACvB,8CAA+B,CAAA;IAC/B,kCAAmB,CAAA;AACrB,CAAC,EAPW,WAAW,2BAAX,WAAW,QAOtB;AAED,IAAY,QAIX;AAJD,WAAY,QAAQ;IAClB,uBAAW,CAAA;IACX,uBAAW,CAAA;IACX,yBAAa,CAAA;AACf,CAAC,EAJW,QAAQ,wBAAR,QAAQ,QAInB;AA0ID;;GAEG;AACH,IAAY,MAIX;AAJD,WAAY,MAAM;IAChB,gCAAsB,CAAA;IACtB,yBAAe,CAAA;IACf,yBAAe,CAAA;AACjB,CAAC,EAJW,MAAM,sBAAN,MAAM,QAIjB;AA0ED,IAAY,MAoBX;AApBD,WAAY,MAAM;IAChB,2BAAiB,CAAA;IACjB,iCAAuB,CAAA;IACvB,uBAAa,CAAA;IACb,2BAAiB,CAAA;IACjB,yBAAe,CAAA;IACf,yBAAe,CAAA;IACf,6BAAmB,CAAA;IACnB,2BAAiB,CAAA;IACjB,uCAA6B,CAAA;IAC7B,yBAAe,CAAA;IACf,yBAAe,CAAA;IACf,6BAAmB,CAAA;IACnB,yCAA+B,CAAA;IAC/B,6BAAmB,CAAA;IACnB,2BAAiB,CAAA;IACjB,yCAA+B,CAAA;IAC/B,2BAAiB,CAAA;IACjB,uCAA6B,CAAA;IAC7B,+BAAqB,CAAA;AACvB,CAAC,EApBW,MAAM,sBAAN,MAAM,QAoBjB;AAED,IAAY,MAaX;AAbD,WAAY,MAAM;IAChB,yBAAe,CAAA;IACf,iCAAuB,CAAA;IACvB,yBAAe,CAAA;IACf,yBAAe,CAAA;IACf,2BAAiB,CAAA;IACjB,qCAA2B,CAAA;IAC3B,+BAAqB,CAAA;IACrB,+BAAqB,CAAA;IACrB,yBAAe,CAAA;IACf,2BAAiB,CAAA;IACjB,yBAAe,CAAA;IACf,2BAAiB,CAAA;AACnB,CAAC,EAbW,MAAM,sBAAN,MAAM,QAajB"} \ No newline at end of file +{"version":3,"file":"types.js","sourceRoot":"","sources":["../../src/models/types.ts"],"names":[],"mappings":";;;AAuDA,IAAY,WAWX;AAXD,WAAY,WAAW;IACrB,wBAAS,CAAA;IACT,oCAAqB,CAAA;IACrB,8BAAe,CAAA;IACf,kCAAmB,CAAA;IACnB,0BAAW,CAAA;IACX,0BAAW,CAAA;IACX,8BAAe,CAAA;IACf,8BAAe,CAAA;IACf,8BAAe,CAAA;IACf,oCAAqB,CAAA;AACvB,CAAC,EAXW,WAAW,GAAX,mBAAW,KAAX,mBAAW,QAWt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AAmB,CAAA;IACnB,yCAA+B,CAAA;IAC/B,6BAAmB,CAAA;IACnB,2BAAiB,CAAA;IACjB,yCAA+B,CAAA;IAC/B,2BAAiB,CAAA;IACjB,uCAA6B,CAAA;IAC7B,+BAAqB,CAAA;AACvB,CAAC,EAnBW,MAAM,GAAN,cAAM,KAAN,cAAM,QAmBjB;AAED,IAAY,MAaX;AAbD,WAAY,MAAM;IAChB,yBAAe,CAAA;IACf,iCAAuB,CAAA;IACvB,yBAAe,CAAA;IACf,yBAAe,CAAA;IACf,2BAAiB,CAAA;IACjB,qCAA2B,CAAA;IAC3B,+BAAqB,CAAA;IACrB,+BAAqB,CAAA;IACrB,yBAAe,CAAA;IACf,2BAAiB,CAAA;IACjB,yBAAe,CAAA;IACf,2BAAiB,CAAA;AACnB,CAAC,EAbW,MAAM,GAAN,cAAM,KAAN,cAAM,QAajB"} \ No newline at end of file diff --git a/dist/models/video-extractor.d.ts b/dist/models/video-extractor.d.ts index d7f452cc2..54456268e 100644 --- a/dist/models/video-extractor.d.ts +++ b/dist/models/video-extractor.d.ts @@ -1,5 +1,7 @@ -import { IVideo, ISource } from '.'; -declare abstract class VideoExtractor { +import { IVideo, ISource, ProxyConfig } from '.'; +import Proxy from '../models/proxy'; +declare abstract class VideoExtractor extends Proxy.Extractor { + constructor(proxyConfig?: ProxyConfig); /** * The server name of the video provider */ diff --git a/dist/models/video-extractor.js b/dist/models/video-extractor.js index b20004516..2dfff8815 100644 --- a/dist/models/video-extractor.js +++ b/dist/models/video-extractor.js @@ -1,6 +1,13 @@ "use strict"; +var __importDefault = (this && this.__importDefault) || function (mod) { + return (mod && mod.__esModule) ? mod : { "default": mod }; +}; Object.defineProperty(exports, "__esModule", { value: true }); -class VideoExtractor { +const proxy_1 = __importDefault(require("../models/proxy")); +class VideoExtractor extends proxy_1.default.Extractor { + constructor(proxyConfig) { + super(proxyConfig); + } } exports.default = VideoExtractor; //# sourceMappingURL=video-extractor.js.map \ No newline at end of file diff --git a/dist/models/video-extractor.js.map b/dist/models/video-extractor.js.map index 219a739c6..4f04e3e28 100644 --- a/dist/models/video-extractor.js.map +++ b/dist/models/video-extractor.js.map @@ -1 +1 @@ -{"version":3,"file":"video-extractor.js","sourceRoot":"","sources":["../../src/models/video-extractor.ts"],"names":[],"mappings":";;AAEA,MAAe,cAAc;CAiB5B;AAED,kBAAe,cAAc,CAAC"} \ No newline at end of file +{"version":3,"file":"video-extractor.js","sourceRoot":"","sources":["../../src/models/video-extractor.ts"],"names":[],"mappings":";;;;;AACA,4DAAoC;AAEpC,MAAe,cAAe,SAAQ,eAAK,CAAC,SAAS;IACnD,YAAY,WAAyB;QACnC,KAAK,CAAC,WAAW,CAAC,CAAC;IACrB,CAAC;CAkBF;AAED,kBAAe,cAAc,CAAC"} \ No newline at end of file diff --git a/dist/providers/anime/gogoanime.d.ts b/dist/providers/anime/gogoanime.d.ts index 11a1c41e7..49a4338b3 100644 --- a/dist/providers/anime/gogoanime.d.ts +++ b/dist/providers/anime/gogoanime.d.ts @@ -1,11 +1,22 @@ import { AnimeParser, ISearch, IAnimeInfo, IEpisodeServer, StreamingServers, IAnimeResult, ISource, ProxyConfig } from '../../models'; declare class Gogoanime extends AnimeParser { + private proxyConfig?; readonly name = "Gogoanime"; protected baseUrl: string; protected logo: string; protected classPath: string; private readonly ajaxUrl; - constructor(proxyConfig?: ProxyConfig); + /** + * + * @param proxyConfig proxy configuration (optional) + * @example + * ```ts + * const gogo = new Gogoanime({ url: 'https://cors-anywhere.herokuapp.com' }); + * // or with multiple proxies + * const gogo = new Gogoanime({ url: ['https://cors-anywhere.herokuapp.com', ...]}); + * ``` + */ + constructor(proxyConfig?: ProxyConfig | undefined); /** * * @param query search query string diff --git a/dist/providers/anime/gogoanime.js b/dist/providers/anime/gogoanime.js index bfa148898..dff67d1ec 100644 --- a/dist/providers/anime/gogoanime.js +++ b/dist/providers/anime/gogoanime.js @@ -9,10 +9,21 @@ const models_1 = require("../../models"); const utils_1 = require("../../utils"); const extractors_1 = require("../../extractors"); class Gogoanime extends models_1.AnimeParser { + /** + * + * @param proxyConfig proxy configuration (optional) + * @example + * ```ts + * const gogo = new Gogoanime({ url: 'https://cors-anywhere.herokuapp.com' }); + * // or with multiple proxies + * const gogo = new Gogoanime({ url: ['https://cors-anywhere.herokuapp.com', ...]}); + * ``` + */ constructor(proxyConfig) { - super('https://www.gogoanime.dk', proxyConfig); + super('https://gogoanimehd.to', proxyConfig); + this.proxyConfig = proxyConfig; this.name = 'Gogoanime'; - this.baseUrl = 'https://gogoanime.cl'; + this.baseUrl = 'https://gogoanimehd.to'; this.logo = 'https://play-lh.googleusercontent.com/MaGEiAEhNHAJXcXKzqTNgxqRmhuKB1rCUgb15UrN_mWUNRnLpO5T1qja64oRasO7mn0'; this.classPath = 'ANIME.Gogoanime'; this.ajaxUrl = 'https://ajax.gogo-load.com/ajax'; @@ -146,7 +157,7 @@ class Gogoanime extends models_1.AnimeParser { case models_1.StreamingServers.GogoCDN: return { headers: { Referer: serverUrl.href }, - sources: await new extractors_1.GogoCDN().extract(serverUrl), + sources: await new extractors_1.GogoCDN(this.proxyConfig).extract(serverUrl), download: `https://gogohd.net/download${serverUrl.search}`, }; case models_1.StreamingServers.StreamSB: @@ -158,7 +169,7 @@ class Gogoanime extends models_1.AnimeParser { default: return { headers: { Referer: serverUrl.href }, - sources: await new extractors_1.GogoCDN().extract(serverUrl), + sources: await new extractors_1.GogoCDN(this.proxyConfig).extract(serverUrl), download: `https://gogohd.net/download${serverUrl.search}`, }; } diff --git a/dist/providers/anime/gogoanime.js.map b/dist/providers/anime/gogoanime.js.map index 56b8889f2..53061469e 100644 --- a/dist/providers/anime/gogoanime.js.map +++ b/dist/providers/anime/gogoanime.js.map @@ -1 +1 @@ -{"version":3,"file":"gogoanime.js","sourceRoot":"","sources":["../../../src/providers/anime/gogoanime.ts"],"names":[],"mappings":";;;;;AAAA,kDAA0B;AAC1B,qCAA+B;AAE/B,yCAasB;AACtB,uCAAyC;AACzC,iDAAqD;AAEr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,kBAAe,SAAS,CAAC"} \ No newline at end of file +{"version":3,"file":"gogoanime.js","sourceRoot":"","sources":["../../../src/providers/anime/gogoanime.ts"],"names":[],"mappings":";;;;;AAAA,kDAA0B;AAC1B,qCAA+B;AAE/B,yCAasB;AACtB,uCAAyC;AACzC,iDAAqD;AAErD,MAAM,SAAU,SAAQ,oBAAW;IASjC;;;;;;;;;OASG;IACH,YAAoB,WAAyB;QAC3C,KAAK,CAAC,wBAAwB,EAAE,WAAW,CAAC,CAAC;QAD3B,gBAAW,GAAX,WAAW,CAAc;QAlB3B,SAAI,GAAG,WAAW,CAAC;QAClB,YAAO,GAAG,wBAAwB,CAAC;QACnC,SAAI,GACrB,2GAA2G,CAAC;QAC3F,cAAS,GAAG,iBAAiB,CAAC;QAEhC,YAAO,GAAG,iCAAiC,CAAC;QAgB7D;;;;WAIG;QACM,WAAM,GAAG,KAAK,EAAE,KAAa,EAAE,OAAe,CAAC,EAAkC,EAAE;YAC1F,MAAM,YAAY,GAA0B;gBAC1C,WAAW,EAAE,IAAI;gBACjB,WAAW,EAAE,KAAK;gBAClB,OAAO,EAAE,EAAE;aACZ,CAAC;YACF,IAAI;gBACF,MAAM,GAAG,GAAG,MAAM,IAAI,CAAC,MAAM,CAAC,GAAG,CAAC,wBAAwB,kBAAkB,CAAC,KAAK,CAAC,SAAS,IAAI,EAAE,CAAC,CAAC;gBAEpG,MAAM,CAAC,GAAG,IAAA,cAAI,EAAC,GAAG,CAAC,IAAI,CAAC,CAAC;gBAEzB,YAAY,CAAC,WAAW;oBACtB,CAAC,CAAC,0DAA0D,CAAC,CAAC,IAAI,EAAE,CAAC,MAAM,GAAG,CAAC,CAAC;gBAElF,CAAC,CAAC,6BAA6B,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,EAAE,EAAE,EAAE,EAAE;;oBAC9C,YAAY,CAAC,OAAO,CAAC,IAAI,CAAC;wBACxB,EAAE,EAAE,MAAA,CAAC,CAAC,EAAE,CAAC,CAAC,IAAI,CAA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G,OAAO;oBACL,WAAW,EAAE,IAAI;oBACjB,WAAW,EAAE,WAAW;oBACxB,OAAO,EAAE,SAAS;iBACnB,CAAC;aACH;YAAC,OAAO,GAAG,EAAE;gBACZ,MAAM,IAAI,KAAK,CAAC,+CAA+C,CAAC,CAAC;aAClE;QACH,CAAC,CAAC;IAhWF,CAAC;CAiWF;AAED,iBAAiB;AACjB,kCAAkC;AAClC,+EAA+E;AAC/E,yBAAyB;AACzB,QAAQ;AAER,kBAAe,SAAS,CAAC"} \ No newline at end of file diff --git a/dist/providers/anime/zoro.d.ts b/dist/providers/anime/zoro.d.ts index 283681752..008009690 100644 --- a/dist/providers/anime/zoro.d.ts +++ b/dist/providers/anime/zoro.d.ts @@ -1,10 +1,20 @@ -import { AnimeParser, ISearch, IAnimeInfo, IAnimeResult, ISource, IEpisodeServer, StreamingServers } from '../../models'; +import { AnimeParser, ISearch, IAnimeInfo, IAnimeResult, ISource, IEpisodeServer, StreamingServers, ProxyConfig } from '../../models'; declare class Zoro extends AnimeParser { + private proxyConfig?; readonly name = "Zoro"; protected baseUrl: string; protected logo: string; protected classPath: string; - constructor(zoroBase?: string); + /** + * + * @param zoroBase Base url of zoro (optional) (default: https://aniwatch.to) + * @param proxyConfig Proxy configuration (optional) + * @example + * ```ts + * const zoro = new Zoro(undefined, { url: "http://localhost:8080" }); + * ``` + */ + constructor(zoroBase?: string, proxyConfig?: ProxyConfig | undefined); /** * @param query Search query * @param page Page number (optional) diff --git a/dist/providers/anime/zoro.js b/dist/providers/anime/zoro.js index cba868d52..23cf67e30 100644 --- a/dist/providers/anime/zoro.js +++ b/dist/providers/anime/zoro.js @@ -9,8 +9,18 @@ const models_1 = require("../../models"); const utils_1 = require("../../utils"); const utils_2 = require("../../utils"); class Zoro extends models_1.AnimeParser { - constructor(zoroBase) { - super(); + /** + * + * @param zoroBase Base url of zoro (optional) (default: https://aniwatch.to) + * @param proxyConfig Proxy configuration (optional) + * @example + * ```ts + * const zoro = new Zoro(undefined, { url: "http://localhost:8080" }); + * ``` + */ + constructor(zoroBase, proxyConfig) { + super(zoroBase !== null && zoroBase !== void 0 ? zoroBase : 'https://aniwatch.to', proxyConfig); + this.proxyConfig = proxyConfig; this.name = 'Zoro'; this.baseUrl = 'https://aniwatch.to'; this.logo = 'https://is3-ssl.mzstatic.com/image/thumb/Purple112/v4/7e/91/00/7e9100ee-2b62-0942-4cdc-e9b93252ce1c/source/512x512bb.jpg'; @@ -28,15 +38,18 @@ class Zoro extends models_1.AnimeParser { results: [], }; try { - const { data } = await axios_1.default.get(`${this.baseUrl}/search?keyword=${decodeURIComponent(query)}&page=${page}`); + const { data } = await this.client.get(`/search?keyword=${decodeURIComponent(query)}&page=${page}`); const $ = (0, cheerio_1.load)(data); res.hasNextPage = - $('.pagination > li').length > 0 ? - $('.pagination li.active').length > 0 ? - $('.pagination > li').last().hasClass('active') ? false : true + $('.pagination > li').length > 0 + ? $('.pagination li.active').length > 0 + ? $('.pagination > li').last().hasClass('active') + ? false + : true : false : false; - res.totalPages = parseInt((_c = (_b = (_a = $('.pagination > .page-item a[title="Last"]')) === null || _a === void 0 ? void 0 : _a.attr('href')) === null || _b === void 0 ? void 0 : _b.split("=").pop()) !== null && _c !== void 0 ? _c : (_e = (_d = $('.pagination > .page-item.active a')) === null || _d === void 0 ? void 0 : _d.text()) === null || _e === void 0 ? void 0 : _e.trim()) || 0; + res.totalPages = + parseInt((_c = (_b = (_a = $('.pagination > .page-item a[title="Last"]')) === null || _a === void 0 ? void 0 : _a.attr('href')) === null || _b === void 0 ? void 0 : _b.split('=').pop()) !== null && _c !== void 0 ? _c : (_e = (_d = $('.pagination > .page-item.active a')) === null || _d === void 0 ? void 0 : _d.text()) === null || _e === void 0 ? void 0 : _e.trim()) || 0; if (res.totalPages === 0 && !res.hasNextPage) res.totalPages = 1; $('.film_list-wrap > div.flw-item').each((i, el) => { @@ -76,7 +89,7 @@ class Zoro extends models_1.AnimeParser { title: '', }; try { - const { data } = await axios_1.default.get(`${this.baseUrl}/watch/${id}`); + const { data } = await this.client.get(`/watch/${id}`); const $ = (0, cheerio_1.load)(data); const { mal_id, anilist_id } = JSON.parse($('#syncData').text()); info.malID = Number(mal_id); @@ -99,7 +112,7 @@ class Zoro extends models_1.AnimeParser { else { info.subOrDub = models_1.SubOrSub.SUB; } - const episodesAjax = await axios_1.default.get(`${this.baseUrl}/ajax/v2/episode/list/${id.split('-').pop()}`, { + const episodesAjax = await this.client.get(`/ajax/v2/episode/list/${id.split('-').pop()}`, { headers: { 'X-Requested-With': 'XMLHttpRequest', Referer: `${this.baseUrl}/watch/${id}`, @@ -141,7 +154,7 @@ class Zoro extends models_1.AnimeParser { switch (server) { case models_1.StreamingServers.VidStreaming: case models_1.StreamingServers.VidCloud: - return Object.assign({}, (await new utils_1.RapidCloud().extract(serverUrl))); + return Object.assign({}, (await new utils_1.RapidCloud(this.proxyConfig).extract(serverUrl))); case models_1.StreamingServers.StreamSB: return { headers: { Referer: serverUrl.href, watchsb: 'streamsb', 'User-Agent': utils_2.USER_AGENT }, @@ -154,7 +167,7 @@ class Zoro extends models_1.AnimeParser { }; default: case models_1.StreamingServers.VidCloud: - return Object.assign({ headers: { Referer: serverUrl.href } }, (await new utils_1.RapidCloud().extract(serverUrl))); + return Object.assign({ headers: { Referer: serverUrl.href } }, (await new utils_1.RapidCloud(this.proxyConfig).extract(serverUrl))); } } if (!episodeId.includes('$episode$')) @@ -263,7 +276,8 @@ class Zoro extends models_1.AnimeParser { // (async () => { // const zoro = new Zoro(); // const anime = await zoro.search('classroom of the elite'); -// const sources = await zoro.fetchEpisodeSources('bleach-the-movie-fade-to-black-1492$episode$58326'); +// const info = await zoro.fetchAnimeInfo(anime.results[0].id); +// const sources = await zoro.fetchEpisodeSources(info.episodes![0].id); // console.log(sources); // })(); exports.default = Zoro; diff --git a/dist/providers/anime/zoro.js.map b/dist/providers/anime/zoro.js.map index 4e73969e8..3329f0840 100644 --- a/dist/providers/anime/zoro.js.map +++ b/dist/providers/anime/zoro.js.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M,IAAI,KAAK,CAAC,yBAAyB,CAAC,CAAC;QAC7C,CAAC,CAAC;QA7RA,IAAI,CAAC,OAAO,GAAG,QAAQ,CAAC,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,IAAI,CAAC,OAAO,CAAC;IACpD,CAAC;CA6RF;AAED,iBAAiB;AACjB,6BAA6B;AAC7B,+DAA+D;AAC/D,iEAAiE;AACjE,0EAA0E;AAC1E,0BAA0B;AAC1B,QAAQ;AAER,kBAAe,IAAI,CAAC"} \ No newline at end of file diff --git a/dist/providers/meta/anilist.js.map b/dist/providers/meta/anilist.js.map index ad8654354..d5ba93042 100644 --- a/dist/providers/meta/anilist.js.map +++ b/dist/providers/meta/anilist.js.map @@ -1 +1 @@ -{"version":3,"file":"anilist.js","sourceRoot":"","sources":["../../../src/providers/meta/anilist.ts"],"names":[],"mappings":";;;;;;AAAA,kDAA0B;AAE1B,yCAmBsB;AACtB,uCAgBqB;AACrB,gFAAwD;AACxD,2DAAmC;AACnC,yDAAiC;AACjC,uEAA+C;AAC/C,uEAA+C;AAC/C,iEAAyC;AACzC,8DAAwC;AACxC,6CAAsD;AAEtD,MAAM,OAAQ,SAAQ,oBAAW;IAY/B;;;;;OAKG;IACH,YAAY,QAAsB,EAAS,WAAyB;QAClE,KAAK,CAAC,6BAA6B,EAAE,WAAW,CAAC,CAAC;QADT,gBAAW,GAAX,WAAW,CAAc;QAjBlD,SAAI,GAAG,SAAS,CAAC;QAChB,YAAO,GAAG,oBAAoB,CAAC;QAC/B,SAAI,GAAG,sEAAsE,CAAC;QAC9E,cAAS,GAAG,cAAc,CAAC;QAE7B,sBAAiB,GAAG,4BAA4B,CAAC;QACjD,oBAAe,GAAG,8BAA8B,CAAC;QACjD,eAAU,GAAG,yBAAyB,CAAC;QACvC,aAAQ,GAAG,uBAAuB,CAAC;QAcpD;;;;WAIG;QACM,WAAM,GAAG,KAAK,EACrB,KAAa,EACb,OAAe,CAAC,EAChB,UAAkB,EAAE,EACY,EAAE;;Y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CAAC;gBACF,SAAS,CAAC,QAAQ,GAAG,SAAS,CAAC,QAAQ,CAAC,OAAO,EAAE,CAAC;gBAElD,OAAO,SAAS,CAAC;aAClB;YAAC,OAAO,KAAK,EAAE;gBACd,MAAM,KAAK,CAAE,KAAe,CAAC,OAAO,CAAC,CAAC;aACvC;QACH,CAAC,CAAC;QA3PA,IAAI,CAAC,QAAQ,GAAG,QAAQ,IAAI,IAAI,qBAAW,EAAE,CAAC;IAChD,CAAC;CA2PF,AApQW,CAoQV;AAkFJ,iBAAiB;AACjB,+BAA+B;AAC/B,oDAAoD;AACpD,QAAQ;AAER,kBAAe,OAAO,CAAC"} \ No newline at end of file +{"version":3,"file":"anilist.js","sourceRoot":"","sources":["../../../src/providers/meta/anilist.ts"],"names":[],"mappings":";;;;;;AAAA,kDAA0B;AAE1B,yCAmBsB;AACtB,uCAgBqB;AACrB,gFAAwD;AACxD,2DAAmC;AACnC,yDAAiC;AACjC,uEAA+C;AAC/C,uEAA+C;AAC/C,iEAAyC;AACzC,8DAAwC;AACxC,6CAAsD;AAEtD,MAAM,OAAQ,SAAQ,oBAAW;IAY/B;;;;;OAKG;IACH,YAAY,QAAsB,EAAS,WAAyB;QAClE,KAAK,CAAC,6BAA6B,EAAE,WAAW,CAAC,CAAC;QADT,gBAAW,GAAX,WAAW,CAAc;QAjBlD,SAAI,GAAG,SAAS,CAAC;QAChB,YAAO,GAAG,oBAAoB,CAAC;QAC/B,SAAI,GAAG,sEAAsE,CAAC;QAC9E,cAAS,GAAG,cAAc,CAAC;QAE7B,sBAAiB,GAAG,4BAA4B,CAAC;QACjD,oBAAe,GAAG,8BAA8B,CAAC;QACjD,eAAU,GAAG,yBAAyB,CAAC;QACvC,aAAQ,GAAG,uBAAuB,CAAC;QAcpD;;;;WAIG;QACM,WAAM,GAAG,KAAK,EACrB,KAAa,EACb,OAAe,CAAC,EAChB,UAAkB,EAAE,EACY,EAAE;;YAClC,MAAM,OAAO,GAAG;gBACd,OAAO,EAAE;oBAC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AQ,CAAC,OAAO,EAAE,CAAC;gBAElD,OAAO,SAAS,CAAC;aAClB;YAAC,OAAO,KAAK,EAAE;gBACd,MAAM,KAAK,CAAE,KAAe,CAAC,OAAO,CAAC,CAAC;aACvC;QACH,CAAC,CAAC;QA3PA,IAAI,CAAC,QAAQ,GAAG,QAAQ,IAAI,IAAI,qBAAW,EAAE,CAAC;IAChD,CAAC;CA2PF,CAAC;AAkFJ,iBAAiB;AACjB,+BAA+B;AAC/B,oDAAoD;AACpD,QAAQ;AAER,kBAAe,OAAO,CAAC"} \ No newline at end of file diff --git a/dist/providers/movies/dramacool.d.ts b/dist/providers/movies/dramacool.d.ts index d317fb7a1..25638419c 100644 --- a/dist/providers/movies/dramacool.d.ts +++ b/dist/providers/movies/dramacool.d.ts @@ -1,10 +1,12 @@ -import { MovieParser, TvType, IMovieInfo, IEpisodeServer, StreamingServers, ISource, IMovieResult, ISearch } from '../../models'; +import { MovieParser, TvType, IMovieInfo, IEpisodeServer, StreamingServers, ISource, IMovieResult, ISearch, ProxyConfig } from '../../models'; declare class DramaCool extends MovieParser { + private proxyConfig?; readonly name = "DramaCool"; protected baseUrl: string; protected logo: string; protected classPath: string; supportedTypes: Set; + constructor(proxyConfig?: ProxyConfig | undefined); search: (query: string, page?: number) => Promise>; fetchMediaInfo: (mediaId: string) => Promise; fetchEpisodeServers(episodeId: string, ...args: any): Promise; diff --git a/dist/providers/movies/dramacool.js b/dist/providers/movies/dramacool.js index f4fd9bb15..81e034391 100644 --- a/dist/providers/movies/dramacool.js +++ b/dist/providers/movies/dramacool.js @@ -1,15 +1,12 @@ "use strict"; -var __importDefault = (this && this.__importDefault) || function (mod) { - return (mod && mod.__esModule) ? mod : { "default": mod }; -}; Object.defineProperty(exports, "__esModule", { value: true }); const cheerio_1 = require("cheerio"); -const axios_1 = __importDefault(require("axios")); const models_1 = require("../../models"); const extractors_1 = require("../../extractors"); class DramaCool extends models_1.MovieParser { - constructor() { - super(...arguments); + constructor(proxyConfig) { + super('https://www1.dramacool.cr', proxyConfig); + this.proxyConfig = proxyConfig; this.name = 'DramaCool'; this.baseUrl = 'https://dramacool.hr'; this.logo = 'https://play-lh.googleusercontent.com/IaCb2JXII0OV611MQ-wSA8v_SAs9XF6E3TMDiuxGGXo4wp9bI60GtDASIqdERSTO5XU'; @@ -22,7 +19,7 @@ class DramaCool extends models_1.MovieParser { hasNextPage: false, results: [], }; - const { data } = await axios_1.default.get(`${this.baseUrl}/search?keyword=${query.replace(/[\W_]+/g, '-')}&page=${page}`); + const { data } = await this.client.get(`/search?keyword=${query.replace(/[\W_]+/g, '-')}&page=${page}`); const $ = (0, cheerio_1.load)(data); const navSelector = 'ul.pagination'; searchResult.hasNextPage = @@ -46,12 +43,14 @@ class DramaCool extends models_1.MovieParser { try { const realMediaId = mediaId; if (!mediaId.startsWith(this.baseUrl)) - mediaId = `${this.baseUrl}/${mediaId}`; + mediaId = `/${mediaId}`; + if (mediaId.startsWith(this.baseUrl)) + mediaId = mediaId.replace(this.baseUrl, ''); const mediaInfo = { id: '', title: '', }; - const { data } = await axios_1.default.get(mediaId); + const { data } = await this.client.get(mediaId); const $ = (0, cheerio_1.load)(data); mediaInfo.id = realMediaId; mediaInfo.title = $('.info > h1:nth-child(1)').text(); @@ -85,18 +84,18 @@ class DramaCool extends models_1.MovieParser { const serverUrl = new URL(episodeId); switch (server) { case models_1.StreamingServers.AsianLoad: - return Object.assign({}, (await new extractors_1.AsianLoad().extract(serverUrl))); + return Object.assign({}, (await new extractors_1.AsianLoad(this.proxyConfig).extract(serverUrl))); case models_1.StreamingServers.MixDrop: return { - sources: await new extractors_1.MixDrop().extract(serverUrl), + sources: await new extractors_1.MixDrop(this.proxyConfig).extract(serverUrl), }; case models_1.StreamingServers.StreamTape: return { - sources: await new extractors_1.StreamTape().extract(serverUrl), + sources: await new extractors_1.StreamTape(this.proxyConfig).extract(serverUrl), }; case models_1.StreamingServers.StreamSB: return { - sources: await new extractors_1.StreamSB().extract(serverUrl), + sources: await new extractors_1.StreamSB(this.proxyConfig).extract(serverUrl), }; default: throw new Error('Server not supported'); @@ -104,7 +103,7 @@ class DramaCool extends models_1.MovieParser { } try { if (!episodeId.includes('.html')) - episodeId = `${this.baseUrl}/${episodeId}.html`; + episodeId = `/${episodeId}.html`; const servers = await this.fetchEpisodeServers(episodeId); const i = servers.findIndex(s => s.name.toLowerCase() === server.toLowerCase()); if (i === -1) { @@ -126,8 +125,8 @@ class DramaCool extends models_1.MovieParser { try { const episodeServers = []; if (!episodeId.includes('.html')) - episodeId = `${this.baseUrl}/${episodeId}.html`; - const { data } = await axios_1.default.get(episodeId); + episodeId = `/${episodeId}.html`; + const { data } = await this.client.get(episodeId); const $ = (0, cheerio_1.load)(data); $('div.anime_muti_link > ul > li').map(async (i, ele) => { const url = $(ele).attr('data-video'); diff --git a/dist/providers/movies/dramacool.js.map b/dist/providers/movies/dramacool.js.map index 70011c62f..1308217f5 100644 --- a/dist/providers/movies/dramacool.js.map +++ b/dist/providers/movies/dramacool.js.map @@ -1 +1 @@ -{"version":3,"file":"dramacool.js","sourceRoot":"","sources":["../../../src/providers/movies/dramacool.ts"],"names":[],"mappings":";;;;;AAAA,qCAA+B;AAC/B,kDAA0B;AAE1B,yCASsB;AACtB,iDAA4E;AAE5E,MAAM,SAAU,SAAQ,oBAAW;IAAnC;;QACoB,SAAI,GAAG,WAAW,CAAC;QAClB,YAAO,GAAG,sBAAsB,CAAC;QACjC,SAAI,GACrB,2GAA2G,CAAC;QAC3F,cAAS,GAAG,kBAAkB,CAAC;QACzC,mBAAc,GAAG,IAAI,GAAG,CAAC,CAAC,eAAM,CAAC,KAAK,EAAE,eAAM,CAAC,QAAQ,CAAC,CAAC,CAAC;QAE1D,WAAM,GAAG,KAAK,EAAE,KAAa,EAAE,OAAe,CAAC,EAAkC,EAAE;YAC1F,IAAI;gBACF,MAAM,YAAY,GAA0B;oBAC1C,WAAW,EAAE,IAAI;oBACjB,WAAW,EAAE,KAAK;oBAClB,OAAO,EAAE,EAAE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AC,EAAE,GAAG,EAAE,EAAE;gBACtD,MAAM,GAAG,GAAG,CAAC,CAAC,GAAG,CAAC,CAAC,IAAI,CAAC,YAAY,CAAE,CAAC;gBACvC,IAAI,IAAI,GAAG,CAAC,CAAC,GAAG,CAAC,CAAC,IAAI,CAAC,OAAO,CAAE,CAAC,OAAO,CAAC,UAAU,EAAE,EAAE,CAAC,CAAC,IAAI,EAAE,CAAC;gBAChE,IAAI,IAAI,CAAC,QAAQ,CAAC,UAAU,CAAC,EAAE;oBAC7B,IAAI,GAAG,yBAAgB,CAAC,SAAS,CAAA;iBAClC;gBACD,cAAc,CAAC,IAAI,CAAC;oBAClB,IAAI,EAAE,IAAI;oBACV,GAAG,EAAE,GAAG,CAAC,UAAU,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC,GAAG,aAAH,GAAG,uBAAH,GAAG,CAAE,OAAO,CAAC,IAAI,EAAE,UAAU,CAAC,CAAC,CAAC,CAAC,GAAG;iBACjE,CAAC,CAAC;YACL,CAAC,CAAC,CAAC;YAEH,OAAO,cAAc,CAAC;SACvB;QAAC,OAAO,GAAG,EAAE;YACZ,MAAM,IAAI,KAAK,CAAE,GAAa,CAAC,OAAO,CAAC,CAAC;SACzC;IACH,CAAC;CAoDF;AAED,kBAAe,SAAS,CAAC"} \ No newline at end of file +{"version":3,"file":"dramacool.js","sourceRoot":"","sources":["../../../src/providers/movies/dramacool.ts"],"names":[],"mappings":";;AAAA,qCAA+B;AAG/B,yCAUsB;AACtB,iDAA4E;AAE5E,MAAM,SAAU,SAAQ,oBAAW;IAQjC,YAAoB,WAAyB;QAC3C,KAAK,CAAC,2BAA2B,EAAE,WAAW,CAAC,CAAC;QAD9B,gBAAW,GAAX,WAAW,CAAc;QAP3B,SAAI,GAAG,WAAW,CAAC;QAClB,YAAO,GAAG,sBAAsB,CAAC;QACjC,SAAI,GACrB,2GAA2G,CAAC;QAC3F,cAAS,GAAG,kBAAkB,CAAC;QACzC,mBAAc,GAAG,IAAI,GAAG,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AS,CAAC"} \ No newline at end of file diff --git a/dist/providers/movies/flixhq.d.ts b/dist/providers/movies/flixhq.d.ts index 6691766d5..d62c059b1 100644 --- a/dist/providers/movies/flixhq.d.ts +++ b/dist/providers/movies/flixhq.d.ts @@ -1,10 +1,12 @@ import { MovieParser, TvType, IMovieInfo, IEpisodeServer, StreamingServers, ISource, IMovieResult, ISearch } from '../../models'; declare class FlixHQ extends MovieParser { + private proxyConfig?; readonly name = "FlixHQ"; protected baseUrl: string; protected logo: string; protected classPath: string; supportedTypes: Set; + constructor(proxyConfig?: any); /** * * @param query search query string diff --git a/dist/providers/movies/flixhq.js b/dist/providers/movies/flixhq.js index fc7959596..9b9cfc92b 100644 --- a/dist/providers/movies/flixhq.js +++ b/dist/providers/movies/flixhq.js @@ -1,15 +1,12 @@ "use strict"; -var __importDefault = (this && this.__importDefault) || function (mod) { - return (mod && mod.__esModule) ? mod : { "default": mod }; -}; Object.defineProperty(exports, "__esModule", { value: true }); const cheerio_1 = require("cheerio"); -const axios_1 = __importDefault(require("axios")); const models_1 = require("../../models"); const extractors_1 = require("../../extractors"); class FlixHQ extends models_1.MovieParser { - constructor() { - super(...arguments); + constructor(proxyConfig) { + super('https://flixhq.to', proxyConfig); + this.proxyConfig = proxyConfig; this.name = 'FlixHQ'; this.baseUrl = 'https://flixhq.to'; this.logo = 'https://upload.wikimedia.org/wikipedia/commons/7/7a/MyAnimeList_Logo.png'; @@ -27,7 +24,7 @@ class FlixHQ extends models_1.MovieParser { results: [], }; try { - const { data } = await axios_1.default.get(`${this.baseUrl}/search/${query.replace(/[\W_]+/g, '-')}?page=${page}`); + const { data } = await this.client.get(`/search/${query.replace(/[\W_]+/g, '-')}?page=${page}`); const $ = (0, cheerio_1.load)(data); const navSelector = 'div.pre-pagination:nth-child(3) > nav:nth-child(1) > ul:nth-child(1)'; searchResult.hasNextPage = @@ -60,7 +57,7 @@ class FlixHQ extends models_1.MovieParser { this.fetchMediaInfo = async (mediaId) => { var _a; if (!mediaId.startsWith(this.baseUrl)) { - mediaId = `${this.baseUrl}/${mediaId}`; + mediaId = `/${mediaId}`; } const movieInfo = { id: mediaId.split('to/').pop(), @@ -68,7 +65,7 @@ class FlixHQ extends models_1.MovieParser { url: mediaId, }; try { - const { data } = await axios_1.default.get(mediaId); + const { data } = await this.client.get(mediaId); const $ = (0, cheerio_1.load)(data); const recommendationsArray = []; $('div.movie_information > div.container > div.m_i-related > div.film-related > section.block_area > div.block_area-content > div.film_list-wrap > div.flw-item').each((i, el) => { @@ -105,9 +102,9 @@ class FlixHQ extends models_1.MovieParser { movieInfo.duration = $('span.item:nth-child(3)').text(); movieInfo.rating = parseFloat($('span.item:nth-child(2)').text()); movieInfo.recommendations = recommendationsArray; - const ajaxReqUrl = (id, type, isSeasons = false) => `${this.baseUrl}/ajax/${type === 'movie' ? type : `v2/${type}`}/${isSeasons ? 'seasons' : 'episodes'}/${id}`; + const ajaxReqUrl = (id, type, isSeasons = false) => `/ajax/${type === 'movie' ? type : `v2/${type}`}/${isSeasons ? 'seasons' : 'episodes'}/${id}`; if (movieInfo.type === models_1.TvType.TVSERIES) { - const { data } = await axios_1.default.get(ajaxReqUrl(uid, 'tv', true)); + const { data } = await this.client.get(ajaxReqUrl(uid, 'tv', true)); const $$ = (0, cheerio_1.load)(data); const seasonsIds = $$('.dropdown-menu > a') .map((i, el) => $(el).attr('data-id')) @@ -115,7 +112,7 @@ class FlixHQ extends models_1.MovieParser { movieInfo.episodes = []; let season = 1; for (const id of seasonsIds) { - const { data } = await axios_1.default.get(ajaxReqUrl(id, 'season')); + const { data } = await this.client.get(ajaxReqUrl(id, 'season')); const $$$ = (0, cheerio_1.load)(data); $$$('.nav > li') .map((i, el) => { @@ -161,16 +158,16 @@ class FlixHQ extends models_1.MovieParser { case models_1.StreamingServers.MixDrop: return { headers: { Referer: serverUrl.href }, - sources: await new extractors_1.MixDrop().extract(serverUrl), + sources: await new extractors_1.MixDrop(this.proxyConfig).extract(serverUrl), }; case models_1.StreamingServers.VidCloud: - return Object.assign({ headers: { Referer: serverUrl.href } }, (await new extractors_1.VidCloud().extract(serverUrl, true))); + return Object.assign({ headers: { Referer: serverUrl.href } }, (await new extractors_1.VidCloud(this.proxyConfig).extract(serverUrl, true))); case models_1.StreamingServers.UpCloud: - return Object.assign({ headers: { Referer: serverUrl.href } }, (await new extractors_1.VidCloud().extract(serverUrl))); + return Object.assign({ headers: { Referer: serverUrl.href } }, (await new extractors_1.VidCloud(this.proxyConfig).extract(serverUrl))); default: return { headers: { Referer: serverUrl.href }, - sources: await new extractors_1.MixDrop().extract(serverUrl), + sources: await new extractors_1.MixDrop(this.proxyConfig).extract(serverUrl), }; } } @@ -180,7 +177,7 @@ class FlixHQ extends models_1.MovieParser { if (i === -1) { throw new Error(`Server ${server} not found`); } - const { data } = await axios_1.default.get(`${this.baseUrl}/ajax/get_link/${servers[i].url.split('.').slice(-1).shift()}`); + const { data } = await this.client.get(`/ajax/get_link/${servers[i].url.split('.').slice(-1).shift()}`); const serverUrl = new URL(data.link); return await this.fetchEpisodeSources(serverUrl.href, mediaId, server); } @@ -195,11 +192,11 @@ class FlixHQ extends models_1.MovieParser { */ this.fetchEpisodeServers = async (episodeId, mediaId) => { if (!episodeId.startsWith(this.baseUrl + '/ajax') && !mediaId.includes('movie')) - episodeId = `${this.baseUrl}/ajax/v2/episode/servers/${episodeId}`; + episodeId = `/ajax/v2/episode/servers/${episodeId}`; else - episodeId = `${this.baseUrl}/ajax/movie/episodes/${episodeId}`; + episodeId = `/ajax/movie/episodes/${episodeId}`; try { - const { data } = await axios_1.default.get(episodeId); + const { data } = await this.client.get(episodeId); const $ = (0, cheerio_1.load)(data); const servers = $('.nav > li') .map((i, el) => { @@ -222,7 +219,7 @@ class FlixHQ extends models_1.MovieParser { }; this.fetchRecentMovies = async () => { try { - const { data } = await axios_1.default.get(`${this.baseUrl}/home`); + const { data } = await this.client.get(`/home`); const $ = (0, cheerio_1.load)(data); const movies = $('section.block_area:contains("Latest Movies") > div:nth-child(2) > div:nth-child(1) > div.flw-item') .map((i, el) => { @@ -250,7 +247,7 @@ class FlixHQ extends models_1.MovieParser { }; this.fetchRecentTvShows = async () => { try { - const { data } = await axios_1.default.get(`${this.baseUrl}/home`); + const { data } = await this.client.get(`/home`); const $ = (0, cheerio_1.load)(data); const tvshows = $('section.block_area:contains("Latest TV Shows") > div:nth-child(2) > div:nth-child(1) > div.flw-item') .map((i, el) => { @@ -277,7 +274,7 @@ class FlixHQ extends models_1.MovieParser { }; this.fetchTrendingMovies = async () => { try { - const { data } = await axios_1.default.get(`${this.baseUrl}/home`); + const { data } = await this.client.get(`/home`); const $ = (0, cheerio_1.load)(data); const movies = $('div#trending-movies div.film_list-wrap div.flw-item') .map((i, el) => { @@ -305,7 +302,7 @@ class FlixHQ extends models_1.MovieParser { }; this.fetchTrendingTvShows = async () => { try { - const { data } = await axios_1.default.get(`${this.baseUrl}/home`); + const { data } = await this.client.get(`/home`); const $ = (0, cheerio_1.load)(data); const tvshows = $('div#trending-tv div.film_list-wrap div.flw-item') .map((i, el) => { diff --git a/dist/providers/movies/flixhq.js.map b/dist/providers/movies/flixhq.js.map index 8ddcfc79b..6059c694d 100644 --- a/dist/providers/movies/flixhq.js.map +++ b/dist/providers/movies/flixhq.js.map @@ -1 +1 @@ -{"version":3,"file":"flixhq.js","sourceRoot":"","sources":["../../../src/providers/movies/flixhq.ts"],"names":[],"mappings":";;;;;AAAA,qCAA+B;AAC/B,kDAA0B;AAE1B,yCASsB;AACtB,iDAAqD;AAErD,MAAM,MAAO,SAAQ,oBAAW;IAAhC;;QACoB,SAAI,GAAG,QAAQ,CAAC;QACf,YAAO,GAAG,mBAAmB,CAAC;QAC9B,SAAI,GAAG,0EAA0E,CAAC;QAClF,cAAS,GAAG,eAAe,CAAC;QACtC,mBAAc,GAAG,IAAI,GAAG,CAAC,CAAC,eAAM,CAAC,KAAK,EAAE,eAAM,CAAC,QAAQ,CAAC,CAAC,CAAC;QAEnE;;;;WAIG;QACM,WAAM,GAAG,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AQ;qBACtB,CAAC;oBACF,OAAO,MAAM,CAAC;gBAChB,CAAC,CAAC;qBACD,GAAG,EAAE,CAAC;gBACT,OAAO,OAAO,CAAC;aAChB;YAAC,OAAO,GAAG,EAAE;gBACZ,MAAM,IAAI,KAAK,CAAE,GAAa,CAAC,OAAO,CAAC,CAAC;aACzC;QACH,CAAC,CAAC;IACJ,CAAC;CAAA;AAED,iBAAiB;AACjB,gCAAgC;AAChC,oDAAoD;AACpD,gGAAgG;AAChG,4DAA4D;AAC5D,yBAAyB;AACzB,QAAQ;AAER,kBAAe,MAAM,CAAC"} \ No newline at end of file +{"version":3,"file":"flixhq.js","sourceRoot":"","sources":["../../../src/providers/movies/flixhq.ts"],"names":[],"mappings":";;AAAA,qCAA+B;AAG/B,yCASsB;AACtB,iDAAqD;AAErD,MAAM,MAAO,SAAQ,oBAAW;IAO9B,YAAoB,WAAiB;QACnC,KAAK,CAAC,mBAAmB,EAAE,WAAW,CAAC,CAAC;QADtB,gBAAW,GAAX,WAAW,CAAM;QANnB,SAAI,GAAG,QAAQ,CAAC;QACf,YAAO,GAAG,mBAAmB,CAAC;QAC9B,SAAI,GAAG,0EAA0E,CAAC;QAClF,cAAS,GAAG,eAAe,CAAC;QACtC,mBAAc,GAAG,IAAI,GAAG,CAAC,CAAC,eAAM,CAAC,KAAK,EAAE,eAAM,CAAC,QAAQ,CAAC,CAAC,CAAC;QAMnE;;;;WAIG;QACM,WAAM,GAAG,KAAK,EAAE,KAAa,EAAE,OAAe,CAAC,EAAkC,EAAE;YAC1F,MAAM,YAAY,GAA0B;gBAC1C,WAAW,EAAE,IAAI;gBACjB,WAAW,EAAE,KAAK;gBAClB,OAAO,EAAE,EAAE;aACZ,CAAC;YACF,IAAI;gBACF,MAAM,EAAE,IAAI,EAAE,GAAG,MAAM,IAAI,CAAC,MAAM,CAAC,GAAG,CAAC,WAAW,KAAK,CAAC,OAAO,CAAC,SAAS,EAAE,GAAG,CAAC,SAAS,IAAI,EAAE,CAAC,CA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} \ No newline at end of file diff --git a/dist/providers/movies/viewAsian.d.ts b/dist/providers/movies/viewAsian.d.ts index ea20d022c..77f07fce0 100644 --- a/dist/providers/movies/viewAsian.d.ts +++ b/dist/providers/movies/viewAsian.d.ts @@ -1,10 +1,12 @@ -import { MovieParser, TvType, IMovieInfo, IEpisodeServer, StreamingServers, ISource, IMovieResult, ISearch } from '../../models'; +import { MovieParser, TvType, IMovieInfo, IEpisodeServer, StreamingServers, ISource, IMovieResult, ISearch, ProxyConfig } from '../../models'; declare class ViewAsian extends MovieParser { + private proxyConfig?; readonly name = "ViewAsian"; protected baseUrl: string; protected logo: string; protected classPath: string; supportedTypes: Set; + constructor(proxyConfig?: ProxyConfig | undefined); search: (query: string, page?: number) => Promise>; fetchMediaInfo: (mediaId: string) => Promise; fetchEpisodeSources: (episodeId: string, server?: StreamingServers) => Promise; diff --git a/dist/providers/movies/viewAsian.js b/dist/providers/movies/viewAsian.js index 1641e8f2b..559ad5e20 100644 --- a/dist/providers/movies/viewAsian.js +++ b/dist/providers/movies/viewAsian.js @@ -1,15 +1,12 @@ "use strict"; -var __importDefault = (this && this.__importDefault) || function (mod) { - return (mod && mod.__esModule) ? mod : { "default": mod }; -}; Object.defineProperty(exports, "__esModule", { value: true }); -const axios_1 = __importDefault(require("axios")); const cheerio_1 = require("cheerio"); const models_1 = require("../../models"); const extractors_1 = require("../../extractors"); class ViewAsian extends models_1.MovieParser { - constructor() { - super(...arguments); + constructor(proxyConfig) { + super('https://viewasian.co', proxyConfig); + this.proxyConfig = proxyConfig; this.name = 'ViewAsian'; this.baseUrl = 'https://viewasian.co'; this.logo = 'https://viewasian.co/images/logo.png'; @@ -22,7 +19,7 @@ class ViewAsian extends models_1.MovieParser { results: [], }; try { - const { data } = await axios_1.default.get(`${this.baseUrl}/movie/search/${query.replace(/[\W_]+/g, '-')}?page=${page}`); + const { data } = await this.client.get(`/movie/search/${query.replace(/[\W_]+/g, '-')}?page=${page}`); const $ = (0, cheerio_1.load)(data); const navSelector = 'div#pagination > nav:nth-child(1) > ul:nth-child(1)'; searchResult.hasNextPage = @@ -53,13 +50,15 @@ class ViewAsian extends models_1.MovieParser { this.fetchMediaInfo = async (mediaId) => { const realMediaId = mediaId; if (!mediaId.startsWith(this.baseUrl)) - mediaId = `${this.baseUrl}/watch/${mediaId.split('/').slice(1)}/watching.html`; + mediaId = `/watch/${mediaId.split('/').slice(1)}/watching.html`; + if (mediaId.startsWith(this.baseUrl)) + mediaId = mediaId.replace(this.baseUrl, ''); const mediaInfo = { id: '', title: '', }; try { - const { data } = await axios_1.default.get(mediaId); + const { data } = await this.client.get(mediaId); const $ = (0, cheerio_1.load)(data); mediaInfo.id = realMediaId; mediaInfo.title = $('.detail-mod h3').text(); @@ -96,18 +95,18 @@ class ViewAsian extends models_1.MovieParser { const serverUrl = new URL(episodeId); switch (server) { case models_1.StreamingServers.AsianLoad: - return Object.assign({}, (await new extractors_1.AsianLoad().extract(serverUrl))); + return Object.assign({}, (await new extractors_1.AsianLoad(this.proxyConfig).extract(serverUrl))); case models_1.StreamingServers.MixDrop: return { - sources: await new extractors_1.MixDrop().extract(serverUrl), + sources: await new extractors_1.MixDrop(this.proxyConfig).extract(serverUrl), }; case models_1.StreamingServers.StreamTape: return { - sources: await new extractors_1.StreamTape().extract(serverUrl), + sources: await new extractors_1.StreamTape(this.proxyConfig).extract(serverUrl), }; case models_1.StreamingServers.StreamSB: return { - sources: await new extractors_1.StreamSB().extract(serverUrl), + sources: await new extractors_1.StreamSB(this.proxyConfig).extract(serverUrl), }; default: throw new Error('Server not supported'); @@ -115,10 +114,10 @@ class ViewAsian extends models_1.MovieParser { } if (!episodeId.includes('$episode$')) throw new Error('Invalid episode id'); - episodeId = `${this.baseUrl}${episodeId.replace('$episode$', '?ep=')}`; + episodeId = `${episodeId.replace('$episode$', '?ep=')}`; // return episodeId; try { - const { data } = await axios_1.default.get(episodeId); + const { data } = await this.client.get(episodeId); const $ = (0, cheerio_1.load)(data); let serverUrl = ''; switch (server) { diff --git a/dist/providers/movies/viewAsian.js.map b/dist/providers/movies/viewAsian.js.map index 2d2cd151a..1ca708c31 100644 --- a/dist/providers/movies/viewAsian.js.map +++ b/dist/providers/movies/viewAsian.js.map @@ -1 +1 @@ -{"version":3,"file":"viewAsian.js","sourceRoot":"","sources":["../../../src/providers/movies/viewAsian.ts"],"names":[],"mappings":";;;;;AAAA,kDAA0B;AAC1B,qCAA+B;AAE/B,yCASsB;AACtB,iDAA4E;AAE5E,MAAM,SAAU,SAAQ,oBAAW;IAAnC;;QACoB,SAAI,GAAG,WAAW,CAAC;QAClB,YAAO,GAAG,sBAAsB,CAAC;QACjC,SAAI,GAAG,sCAAsC,CAAC;QAC9C,cAAS,GAAG,kBAAkB,CAAC;QACzC,mBAAc,GAAG,IAAI,GAAG,CAAC,CAAC,eAAM,CAAC,KAAK,EAAE,eAAM,CAAC,QAAQ,CAAC,CAAC,CAAC;QAE1D,WAAM,GAAG,KAAK,EAAE,KAAa,EAAE,OAAe,CAAC,EAAkC,EAAE;YAC1F,MAAM,YAAY,GAA0B;gBAC1C,WAAW,EAAE,IAAI;gBACjB,WAAW,EAAE,KAAK;gBAClB,OAAO,EAAE,EAAE;aACZ,CAAC;YAEF,IAAI;gBACF,MAAM,EAAE,IAAI,EAAE,GAAG,MAAM,eAAK,CAAC,GAAG,CAC9B,GAAG,IAAI,CAAC,OAAO,iBAAiB,KAAK,CAAC,OAAO,CAAC,SAAS,EAAE,GAAG,CAAC,SAAS,IAAI,EAAE,CAC7E,CAAC;gBAEF,MAAM,CAAC,GAAG,IAAA,cAAI,EAAC,IAAI,CAAC,CAAC;gBAErB,MAAM,WAAW,GAAG,qDAAqD,CAAC;gBAE1E,YAAY,CAAC,WAAW;oBACtB,CAAC,CAAC,WAAW,CAAC,CAAC,MAAM,GAAG,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,WAAW,CAAC,CAAC,QAAQ,EAAE,CAAC,IAAI,EAAE,CAAC,QAAQ,CAAC,QAAQ,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C;wBACxD,IAAI,CAAC,SAAS,CAAC,QAAQ,CAAC,QAAQ,CAAC;4BAAE,MAAM,IAAI,KAAK,CAAC,oBAAoB,CAAC,CAAC;wBACzE,MAAM;iBACT;gBAED,OAAO,MAAM,IAAI,CAAC,mBAAmB,CAAC,SAAS,EAAE,MAAM,CAAC,CAAC;aAC1D;YAAC,OAAO,GAAG,EAAE;gBACZ,MAAM,GAAG,CAAC;aACX;QACH,CAAC,CAAC;IAnJF,CAAC;IAqJQ,mBAAmB,CAAC,SAAiB,EAAE,GAAG,IAAS;QAC1D,MAAM,IAAI,KAAK,CAAC,yBAAyB,CAAC,CAAC;IAC7C,CAAC;CACF;AAED,kBAAe,SAAS,CAAC"} \ No newline at end of file diff --git a/package.json b/package.json index fd2a070c3..732e331a4 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@consumet/extensions", - "version": "1.4.18", + "version": "1.5.0", "description": "Nodejs library that provides high-level APIs for obtaining information on various entertainment media such as books, movies, comic books, anime, manga, and so on.", "main": "dist/index.js", "types": "dist/index.d.ts", diff --git a/src/extractors/asianload.ts b/src/extractors/asianload.ts index 97fc76ff1..01f479154 100644 --- a/src/extractors/asianload.ts +++ b/src/extractors/asianload.ts @@ -15,12 +15,12 @@ class AsianLoad extends VideoExtractor { }; override extract = async (videoUrl: URL): Promise<{ sources: IVideo[] } & { subtitles: ISubtitle[] }> => { - const res = await axios.get(videoUrl.href); + const res = await this.client.get(videoUrl.href); const $ = load(res.data); const encyptedParams = await this.generateEncryptedAjaxParams($, videoUrl.searchParams.get('id') ?? ''); - const encryptedData = await axios.get( + const encryptedData = await this.client.get( `${videoUrl.protocol}//${videoUrl.hostname}/encrypt-ajax.php?${encyptedParams}`, { headers: { diff --git a/src/extractors/gogocdn.ts b/src/extractors/gogocdn.ts index 5f0bf360f..580897c09 100644 --- a/src/extractors/gogocdn.ts +++ b/src/extractors/gogocdn.ts @@ -2,7 +2,7 @@ import axios from 'axios'; import { CheerioAPI, load } from 'cheerio'; import CryptoJS from 'crypto-js'; -import { VideoExtractor, IVideo } from '../models'; +import { VideoExtractor, IVideo, ProxyConfig } from '../models'; import { USER_AGENT } from '../utils'; class GogoCDN extends VideoExtractor { @@ -20,12 +20,12 @@ class GogoCDN extends VideoExtractor { override extract = async (videoUrl: URL): Promise => { this.referer = videoUrl.href; - const res = await axios.get(videoUrl.href); + const res = await this.client.get(videoUrl.href); const $ = load(res.data); const encyptedParams = await this.generateEncryptedAjaxParams($, videoUrl.searchParams.get('id') ?? ''); - const encryptedData = await axios.get( + const encryptedData = await this.client.get( `${videoUrl.protocol}//${videoUrl.hostname}/encrypt-ajax.php?${encyptedParams}`, { headers: { diff --git a/src/extractors/kwik.ts b/src/extractors/kwik.ts index 4cb02990f..f4fb91692 100644 --- a/src/extractors/kwik.ts +++ b/src/extractors/kwik.ts @@ -10,7 +10,7 @@ class Kwik extends VideoExtractor { override extract = async (videoUrl: URL): Promise => { try { - const { data } = await axios.get(`${videoUrl.href}`, { + const { data } = await this.client.get(`${videoUrl.href}`, { headers: { Referer: this.host }, }); diff --git a/src/extractors/mixdrop.ts b/src/extractors/mixdrop.ts index 4de0ced58..6a262698a 100644 --- a/src/extractors/mixdrop.ts +++ b/src/extractors/mixdrop.ts @@ -8,7 +8,7 @@ class MixDrop extends VideoExtractor { override extract = async (videoUrl: URL): Promise => { try { - const { data } = await axios.get(videoUrl.href); + const { data } = await this.client.get(videoUrl.href); const formated = eval(/(eval)(\(f.*?)(\n<\/script>)/s.exec(data)![2].replace('eval', '')); diff --git a/src/extractors/rapidcloud.ts b/src/extractors/rapidcloud.ts index fd0fe995e..c2354cdae 100644 --- a/src/extractors/rapidcloud.ts +++ b/src/extractors/rapidcloud.ts @@ -2,7 +2,7 @@ import axios from 'axios'; import { load } from 'cheerio'; import CryptoJS from 'crypto-js'; import { substringAfter, substringBefore } from '../utils'; -import { VideoExtractor, IVideo, ISubtitle, Intro } from '../models'; +import { VideoExtractor, IVideo, ISubtitle, Intro, ProxyConfig } from '../models'; class RapidCloud extends VideoExtractor { protected override serverName = 'RapidCloud'; @@ -42,13 +42,18 @@ class RapidCloud extends VideoExtractor { // }); // } - res = await axios.get(`https://${videoUrl.hostname}/embed-2/ajax/e-1/getSources?id=${id}`, options); + res = await this.client.get( + `https://${videoUrl.hostname}/embed-2/ajax/e-1/getSources?id=${id}`, + options + ); let { data: { sources, tracks, intro, encrypted }, } = res; - let decryptKey = await (await axios.get('https://github.com/enimax-anime/key/blob/e6/key.txt')).data; + let decryptKey = await ( + await this.client.get('https://github.com/enimax-anime/key/blob/e6/key.txt') + ).data; decryptKey = substringBefore( substringAfter(decryptKey, '"blob-code blob-code-inner js-file-line">'), @@ -57,7 +62,7 @@ class RapidCloud extends VideoExtractor { if (!decryptKey) { decryptKey = await ( - await axios.get('https://raw.githubusercontent.com/enimax-anime/key/e6/key.txt') + await this.client.get('https://raw.githubusercontent.com/enimax-anime/key/e6/key.txt') ).data; } diff --git a/src/extractors/streamlare.ts b/src/extractors/streamlare.ts index 15e45c2a9..25e0677d8 100644 --- a/src/extractors/streamlare.ts +++ b/src/extractors/streamlare.ts @@ -1,59 +1,67 @@ -import axios from "axios" -import { load } from "cheerio" -import { IVideo, ISource } from "../models"; +import axios from 'axios'; +import { load } from 'cheerio'; +import { IVideo, ISource } from '../models'; import VideoExtractor from '../models/video-extractor'; class StreamLare extends VideoExtractor { - protected serverName: string = "StreamLare"; - protected sources: IVideo[] = []; - - private readonly host = "https://streamlare.com"; - - private readonly regex = new RegExp("/[ve]/([^?#&/]+)"); - - private readonly USER_AGENT = "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/111.0.0.0 Safari/537.36" - - async extract(videoUrl: URL, userAgent: string = this.USER_AGENT.toString(), ...args: any): Promise { - const res = await axios.get(videoUrl.href); - - const $ = load(res.data); - - const CSRF_TOKEN = $("head > meta:nth-child(3)").attr("content")?.toString(); - - const videoId = videoUrl.href.match(this.regex)![1]; - - if (videoId == undefined) { - throw new Error("Video id not matched!"); - } - - const POST = await axios.post(this.host + "/api/video/stream/get", { - id: videoId, - }, { - headers: { - "User-Agent": userAgent, - } - }) - - const POST_RES = POST.data; - - const result = { - headers: { - "User-Agent": userAgent, - }, - status: POST_RES.status, - message: POST_RES.message, - type: POST_RES.type, - token: POST_RES.token, - sources: POST_RES.result, - } - - if (POST_RES.status == "error") { - throw new Error("Request Failed! Error: " + POST_RES.message); - } - - return result; + protected serverName: string = 'StreamLare'; + protected sources: IVideo[] = []; + + private readonly host = 'https://streamlare.com'; + + private readonly regex = new RegExp('/[ve]/([^?#&/]+)'); + + private readonly USER_AGENT = + 'Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/111.0.0.0 Safari/537.36'; + + async extract( + videoUrl: URL, + userAgent: string = this.USER_AGENT.toString(), + ...args: any + ): Promise { + const res = await this.client.get(videoUrl.href); + + const $ = load(res.data); + + const CSRF_TOKEN = $('head > meta:nth-child(3)').attr('content')?.toString(); + + const videoId = videoUrl.href.match(this.regex)![1]; + + if (videoId == undefined) { + throw new Error('Video id not matched!'); + } + + const POST = await axios.post( + this.host + '/api/video/stream/get', + { + id: videoId, + }, + { + headers: { + 'User-Agent': userAgent, + }, + } + ); + + const POST_RES = POST.data; + + const result = { + headers: { + 'User-Agent': userAgent, + }, + status: POST_RES.status, + message: POST_RES.message, + type: POST_RES.type, + token: POST_RES.token, + sources: POST_RES.result, + }; + + if (POST_RES.status == 'error') { + throw new Error('Request Failed! Error: ' + POST_RES.message); } + return result; + } } -export default StreamLare; \ No newline at end of file +export default StreamLare; diff --git a/src/extractors/vidcloud.ts b/src/extractors/vidcloud.ts index 6114ee35b..91956a505 100644 --- a/src/extractors/vidcloud.ts +++ b/src/extractors/vidcloud.ts @@ -31,21 +31,23 @@ class VidCloud extends VideoExtractor { let res = undefined; let sources = undefined; - res = await axios.get( + res = await this.client.get( `${isAlternative ? this.host2 : this.host}/ajax/embed-4/getSources?id=${id}`, options ); if (!isJson(res.data.sources)) { - let { data: key } = await axios.get('https://github.com/enimax-anime/key/blob/e4/key.txt'); + let { data: key } = await this.client.get('https://github.com/enimax-anime/key/blob/e4/key.txt'); key = substringBefore(substringAfter(key, '"blob-code blob-code-inner js-file-line">'), ''); if (!key) { - key = await (await axios.get('https://raw.githubusercontent.com/enimax-anime/key/e4/key.txt')).data; + key = await ( + await this.client.get('https://raw.githubusercontent.com/enimax-anime/key/e4/key.txt') + ).data; } - const decryptedVal = CryptoJS.AES.decrypt(res.data.sources, key).toString(CryptoJS.enc.Utf8) - sources = isJson(decryptedVal) ? JSON.parse(decryptedVal) : res.data.sources + const decryptedVal = CryptoJS.AES.decrypt(res.data.sources, key).toString(CryptoJS.enc.Utf8); + sources = isJson(decryptedVal) ? JSON.parse(decryptedVal) : res.data.sources; } this.sources = sources.map((s: any) => ({ @@ -59,7 +61,7 @@ class VidCloud extends VideoExtractor { this.sources = []; for (const source of sources) { - const { data } = await axios.get(source.file, options); + const { data } = await this.client.get(source.file, options); const urls = data.split('\n').filter((line: string) => line.includes('.m3u8')) as string[]; const qualities = data.split('\n').filter((line: string) => line.includes('RESOLUTION=')) as string[]; diff --git a/src/models/anime-parser.ts b/src/models/anime-parser.ts index 0af450e62..2bb2276b1 100644 --- a/src/models/anime-parser.ts +++ b/src/models/anime-parser.ts @@ -1,6 +1,10 @@ -import { BaseParser, IAnimeInfo, ISource, IEpisodeServer } from '.'; +import { BaseParser, IAnimeInfo, ISource, IEpisodeServer, ProxyConfig } from '.'; abstract class AnimeParser extends BaseParser { + constructor(baseUrl?: string, proxyConfig?: ProxyConfig) { + super(baseUrl, proxyConfig); + } + /** * if the provider has dub and it's avialable seperatly from sub set this to `true` */ diff --git a/src/models/base-parser.ts b/src/models/base-parser.ts index d8a8a25ec..837270efd 100644 --- a/src/models/base-parser.ts +++ b/src/models/base-parser.ts @@ -1,59 +1,12 @@ import axios, { AxiosInstance } from 'axios'; -import { BaseProvider, ProxyConfig } from '.'; +import { ProxyConfig } from '.'; +import Proxy from './proxy'; -abstract class BaseParser extends BaseProvider { - constructor(baseUrl?: string, proxy?: ProxyConfig) { - super(); - - this.client = axios.create({ - baseURL: baseUrl, - }); - - if (proxy) this.setProxy(proxy); +abstract class BaseParser extends Proxy.Provider { + constructor(baseUrl?: string, proxyConfig?: ProxyConfig) { + super(baseUrl, proxyConfig); } - private validUrl = /^https?:\/\/.+/; - /** - * Set or Change the proxy config - */ - setProxy(proxy: ProxyConfig) { - if (!proxy?.url) return; - - if (typeof proxy?.url === 'string') - if (!this.validUrl.test(proxy.url)) throw new Error('Proxy URL is invalid!'); - - if (Array.isArray(proxy?.url)) { - for (const [i, url] of this.toMap(proxy.url)) - if (!this.validUrl.test(url)) throw new Error(`Proxy URL at index ${i} is invalid!`); - - this.rotateProxy({ ...proxy, urls: proxy.url }); - } - - this.client.interceptors.request.use(config => { - if (proxy?.url) { - config.headers = { - ...config.headers, - 'x-api-key': proxy?.key ?? '', - "Origin": "axios" - }; - config.url = `${proxy.url}${config?.baseURL}${config?.url ? config?.url : ''}`; - } - return config; - }); - } - - private rotateProxy = (proxy: Omit & { urls: string[] }, ms: number = 5000) => { - setInterval(() => { - const url = proxy.urls.shift(); - if (url) proxy.urls.push(url); - - this.setProxy({ url: proxy.urls[0], key: proxy.key }); - }, ms); - }; - - private toMap = (arr: T[]): [number, T][] => arr.map((v, i) => [i, v]); - - protected client: AxiosInstance; /** * Search for books/anime/manga/etc using the given query diff --git a/src/models/movie-parser.ts b/src/models/movie-parser.ts index e0a9aa8f1..fa1f32cff 100644 --- a/src/models/movie-parser.ts +++ b/src/models/movie-parser.ts @@ -1,6 +1,10 @@ -import { BaseParser, TvType, ISource, IEpisodeServer, IMovieInfo, IAnimeInfo } from '.'; +import { BaseParser, TvType, ISource, IEpisodeServer, IMovieInfo, IAnimeInfo, ProxyConfig } from '.'; abstract class MovieParser extends BaseParser { + constructor(baseUrl?: string, proxyConfig?: ProxyConfig) { + super(baseUrl, proxyConfig); + } + /** * The supported types of the provider (e.g. `TV`, `Movie`) */ diff --git a/src/models/proxy.ts b/src/models/proxy.ts new file mode 100644 index 000000000..d76713bf0 --- /dev/null +++ b/src/models/proxy.ts @@ -0,0 +1,114 @@ +import axios, { AxiosInstance } from 'axios'; + +import { ProxyConfig } from './types'; +import BaseProvider from './base-provider'; + +namespace Proxy { + export abstract class Provider extends BaseProvider { + constructor(baseUrl?: string, proxy?: ProxyConfig) { + super(); + + if (baseUrl) + this.client = axios.create({ + baseURL: baseUrl, + }); + else this.client = axios.create(); + + if (proxy) this.setProxy(proxy); + } + private validUrl = /^https?:\/\/.+/; + /** + * Set or Change the proxy config + */ + setProxy(proxy: ProxyConfig) { + if (!proxy?.url) return; + + if (typeof proxy?.url === 'string') + if (!this.validUrl.test(proxy.url)) throw new Error('Proxy URL is invalid!'); + + if (Array.isArray(proxy?.url)) { + for (const [i, url] of this.toMap(proxy.url)) + if (!this.validUrl.test(url)) throw new Error(`Proxy URL at index ${i} is invalid!`); + + this.rotateProxy({ ...proxy, urls: proxy.url }); + } + + this.client.interceptors.request.use(config => { + if (proxy?.url) { + config.headers = { + ...config.headers, + 'x-api-key': proxy?.key ?? '', + origin: 'axios', + }; + config.url = `${proxy.url}/${config?.baseURL}${config?.url ? config?.url : ''}`; + } + return config; + }); + } + + private rotateProxy = (proxy: Omit & { urls: string[] }, ms: number = 5000) => { + setInterval(() => { + const url = proxy.urls.shift(); + if (url) proxy.urls.push(url); + + this.setProxy({ url: proxy.urls[0], key: proxy.key }); + }, ms); + }; + + private toMap = (arr: T[]): [number, T][] => arr.map((v, i) => [i, v]); + + protected client: AxiosInstance; + } + + export class Extractor { + constructor(proxy?: ProxyConfig) { + this.client = axios.create(); + + if (proxy) this.setProxy(proxy); + } + private validUrl = /^https?:\/\/.+/; + /** + * Set or Change the proxy config + */ + setProxy(proxy: ProxyConfig) { + if (!proxy?.url) return; + + if (typeof proxy?.url === 'string') + if (!this.validUrl.test(proxy.url)) throw new Error('Proxy URL is invalid!'); + + if (Array.isArray(proxy?.url)) { + for (const [i, url] of this.toMap(proxy.url)) + if (!this.validUrl.test(url)) throw new Error(`Proxy URL at index ${i} is invalid!`); + + this.rotateProxy({ ...proxy, urls: proxy.url }); + } + + this.client.interceptors.request.use(config => { + if (proxy?.url) { + config.headers = { + ...config.headers, + 'x-api-key': proxy?.key ?? '', + Origin: 'axios', + }; + config.url = `${proxy.url}/${config?.url ? config?.url : ''}`; + } + return config; + }); + } + + private rotateProxy = (proxy: Omit & { urls: string[] }, ms: number = 5000) => { + setInterval(() => { + const url = proxy.urls.shift(); + if (url) proxy.urls.push(url); + + this.setProxy({ url: proxy.urls[0], key: proxy.key }); + }, ms); + }; + + private toMap = (arr: T[]): [number, T][] => arr.map((v, i) => [i, v]); + + protected client: AxiosInstance; + } +} + +export default Proxy; diff --git a/src/models/types.ts b/src/models/types.ts index c524219cf..321cfec87 100644 --- a/src/models/types.ts +++ b/src/models/types.ts @@ -415,7 +415,6 @@ export enum Genres { CARS = 'Cars', COMEDY = 'Comedy', DRAMA = 'Drama', - ECCHI = 'Ecchi', FANTASY = 'Fantasy', HORROR = 'Horror', MAHOU_SHOUJO = 'Mahou Shoujo', diff --git a/src/models/video-extractor.ts b/src/models/video-extractor.ts index 9ba145b15..1a54b09d9 100644 --- a/src/models/video-extractor.ts +++ b/src/models/video-extractor.ts @@ -1,6 +1,11 @@ -import { IVideo, ISource, ISubtitle } from '.'; +import { IVideo, ISource, ISubtitle, ProxyConfig } from '.'; +import Proxy from '../models/proxy'; + +abstract class VideoExtractor extends Proxy.Extractor { + constructor(proxyConfig?: ProxyConfig) { + super(proxyConfig); + } -abstract class VideoExtractor { /** * The server name of the video provider */ diff --git a/src/providers/anime/gogoanime.ts b/src/providers/anime/gogoanime.ts index 9efd3a425..b1e04e94c 100644 --- a/src/providers/anime/gogoanime.ts +++ b/src/providers/anime/gogoanime.ts @@ -20,14 +20,25 @@ import { GogoCDN, StreamSB } from '../../extractors'; class Gogoanime extends AnimeParser { override readonly name = 'Gogoanime'; - protected override baseUrl = 'https://gogoanime.cl'; + protected override baseUrl = 'https://gogoanimehd.to'; protected override logo = 'https://play-lh.googleusercontent.com/MaGEiAEhNHAJXcXKzqTNgxqRmhuKB1rCUgb15UrN_mWUNRnLpO5T1qja64oRasO7mn0'; protected override classPath = 'ANIME.Gogoanime'; private readonly ajaxUrl = 'https://ajax.gogo-load.com/ajax'; - constructor(proxyConfig?: ProxyConfig) { - super('https://www.gogoanime.dk', proxyConfig); + + /** + * + * @param proxyConfig proxy configuration (optional) + * @example + * ```ts + * const gogo = new Gogoanime({ url: 'https://cors-anywhere.herokuapp.com' }); + * // or with multiple proxies + * const gogo = new Gogoanime({ url: ['https://cors-anywhere.herokuapp.com', ...]}); + * ``` + */ + constructor(private proxyConfig?: ProxyConfig) { + super('https://gogoanimehd.to', proxyConfig); } /** @@ -181,7 +192,7 @@ class Gogoanime extends AnimeParser { case StreamingServers.GogoCDN: return { headers: { Referer: serverUrl.href }, - sources: await new GogoCDN().extract(serverUrl), + sources: await new GogoCDN(this.proxyConfig).extract(serverUrl), download: `https://gogohd.net/download${serverUrl.search}`, }; case StreamingServers.StreamSB: @@ -193,7 +204,7 @@ class Gogoanime extends AnimeParser { default: return { headers: { Referer: serverUrl.href }, - sources: await new GogoCDN().extract(serverUrl), + sources: await new GogoCDN(this.proxyConfig).extract(serverUrl), download: `https://gogohd.net/download${serverUrl.search}`, }; } @@ -385,7 +396,6 @@ class Gogoanime extends AnimeParser { // (async () => { // const gogo = new Gogoanime(); - // const search = await gogo.fetchEpisodeSources('jigokuraku-dub-episode-1'); // console.log(search); // })(); diff --git a/src/providers/anime/zoro.ts b/src/providers/anime/zoro.ts index 78098675c..ec65444a7 100644 --- a/src/providers/anime/zoro.ts +++ b/src/providers/anime/zoro.ts @@ -13,6 +13,7 @@ import { StreamingServers, MediaFormat, SubOrSub, + ProxyConfig, } from '../../models'; import { StreamSB, RapidCloud, StreamTape } from '../../utils'; @@ -25,8 +26,17 @@ class Zoro extends AnimeParser { 'https://is3-ssl.mzstatic.com/image/thumb/Purple112/v4/7e/91/00/7e9100ee-2b62-0942-4cdc-e9b93252ce1c/source/512x512bb.jpg'; protected override classPath = 'ANIME.Zoro'; - constructor(zoroBase?: string) { - super(); + /** + * + * @param zoroBase Base url of zoro (optional) (default: https://aniwatch.to) + * @param proxyConfig Proxy configuration (optional) + * @example + * ```ts + * const zoro = new Zoro(undefined, { url: "http://localhost:8080" }); + * ``` + */ + constructor(zoroBase?: string, private proxyConfig?: ProxyConfig) { + super(zoroBase ?? 'https://aniwatch.to', proxyConfig); this.baseUrl = zoroBase ? zoroBase : this.baseUrl; } /** @@ -42,23 +52,23 @@ class Zoro extends AnimeParser { }; try { - const { data } = await axios.get( - `${this.baseUrl}/search?keyword=${decodeURIComponent(query)}&page=${page}` - ); + const { data } = await this.client.get(`/search?keyword=${decodeURIComponent(query)}&page=${page}`); const $ = load(data); res.hasNextPage = - $('.pagination > li').length > 0 ? - $('.pagination li.active').length > 0 ? - $('.pagination > li').last().hasClass('active') ? false : true - : false - : false; - - res.totalPages = parseInt( - $('.pagination > .page-item a[title="Last"]')?.attr('href')?.split("=").pop() - ?? - $('.pagination > .page-item.active a')?.text()?.trim() - ) || 0; + $('.pagination > li').length > 0 + ? $('.pagination li.active').length > 0 + ? $('.pagination > li').last().hasClass('active') + ? false + : true + : false + : false; + + res.totalPages = + parseInt( + $('.pagination > .page-item a[title="Last"]')?.attr('href')?.split('=').pop() ?? + $('.pagination > .page-item.active a')?.text()?.trim() + ) || 0; if (res.totalPages === 0 && !res.hasNextPage) res.totalPages = 1; @@ -103,7 +113,7 @@ class Zoro extends AnimeParser { title: '', }; try { - const { data } = await axios.get(`${this.baseUrl}/watch/${id}`); + const { data } = await this.client.get(`/watch/${id}`); const $ = load(data); const { mal_id, anilist_id } = JSON.parse($('#syncData').text()); @@ -127,7 +137,7 @@ class Zoro extends AnimeParser { info.subOrDub = SubOrSub.SUB; } - const episodesAjax = await axios.get(`${this.baseUrl}/ajax/v2/episode/list/${id.split('-').pop()}`, { + const episodesAjax = await this.client.get(`/ajax/v2/episode/list/${id.split('-').pop()}`, { headers: { 'X-Requested-With': 'XMLHttpRequest', Referer: `${this.baseUrl}/watch/${id}`, @@ -178,7 +188,7 @@ class Zoro extends AnimeParser { case StreamingServers.VidStreaming: case StreamingServers.VidCloud: return { - ...(await new RapidCloud().extract(serverUrl)), + ...(await new RapidCloud(this.proxyConfig).extract(serverUrl)), }; case StreamingServers.StreamSB: return { @@ -194,7 +204,7 @@ class Zoro extends AnimeParser { case StreamingServers.VidCloud: return { headers: { Referer: serverUrl.href }, - ...(await new RapidCloud().extract(serverUrl)), + ...(await new RapidCloud(this.proxyConfig).extract(serverUrl)), }; } } @@ -318,7 +328,8 @@ class Zoro extends AnimeParser { // (async () => { // const zoro = new Zoro(); // const anime = await zoro.search('classroom of the elite'); -// const sources = await zoro.fetchEpisodeSources('bleach-the-movie-fade-to-black-1492$episode$58326'); +// const info = await zoro.fetchAnimeInfo(anime.results[0].id); +// const sources = await zoro.fetchEpisodeSources(info.episodes![0].id); // console.log(sources); // })(); diff --git a/src/providers/movies/dramacool.ts b/src/providers/movies/dramacool.ts index 66cbf8158..bb29b4cb0 100644 --- a/src/providers/movies/dramacool.ts +++ b/src/providers/movies/dramacool.ts @@ -10,6 +10,7 @@ import { ISource, IMovieResult, ISearch, + ProxyConfig, } from '../../models'; import { MixDrop, AsianLoad, StreamTape, StreamSB } from '../../extractors'; @@ -21,17 +22,23 @@ class DramaCool extends MovieParser { protected override classPath = 'MOVIES.DramaCool'; override supportedTypes = new Set([TvType.MOVIE, TvType.TVSERIES]); + constructor(private proxyConfig?: ProxyConfig) { + super('https://www1.dramacool.cr', proxyConfig); + } + override search = async (query: string, page: number = 1): Promise> => { try { + const searchResult: ISearch = { currentPage: page, hasNextPage: false, results: [], }; - const { data } = await axios.get( - `${this.baseUrl}/search?keyword=${query.replace(/[\W_]+/g, '-')}&page=${page}` + const { data } = await this.client.get( + `/search?keyword=${query.replace(/[\W_]+/g, '-')}&page=${page}` ); + const $ = load(data); const navSelector = 'ul.pagination'; @@ -55,15 +62,17 @@ class DramaCool extends MovieParser { override fetchMediaInfo = async (mediaId: string): Promise => { try { + const realMediaId = mediaId; - if (!mediaId.startsWith(this.baseUrl)) mediaId = `${this.baseUrl}/${mediaId}`; + if (!mediaId.startsWith(this.baseUrl)) mediaId = `/${mediaId}`; + if (mediaId.startsWith(this.baseUrl)) mediaId = mediaId.replace(this.baseUrl, ''); const mediaInfo: IMovieInfo = { id: '', title: '', }; - const { data } = await axios.get(mediaId); + const { data } = await this.client.get(mediaId); const $ = load(data); mediaInfo.id = realMediaId; @@ -103,9 +112,9 @@ class DramaCool extends MovieParser { try { const episodeServers: IEpisodeServer[] = []; - if (!episodeId.includes('.html')) episodeId = `${this.baseUrl}/${episodeId}.html`; + if (!episodeId.includes('.html')) episodeId = `/${episodeId}.html`; - const { data } = await axios.get(episodeId); + const { data } = await this.client.get(episodeId); const $ = load(data); $('div.anime_muti_link > ul > li').map(async (i, ele) => { @@ -135,19 +144,19 @@ class DramaCool extends MovieParser { switch (server) { case StreamingServers.AsianLoad: return { - ...(await new AsianLoad().extract(serverUrl)), + ...(await new AsianLoad(this.proxyConfig).extract(serverUrl)), }; case StreamingServers.MixDrop: return { - sources: await new MixDrop().extract(serverUrl), + sources: await new MixDrop(this.proxyConfig).extract(serverUrl), }; case StreamingServers.StreamTape: return { - sources: await new StreamTape().extract(serverUrl), + sources: await new StreamTape(this.proxyConfig).extract(serverUrl), }; case StreamingServers.StreamSB: return { - sources: await new StreamSB().extract(serverUrl), + sources: await new StreamSB(this.proxyConfig).extract(serverUrl), }; default: throw new Error('Server not supported'); @@ -155,7 +164,7 @@ class DramaCool extends MovieParser { } try { - if (!episodeId.includes('.html')) episodeId = `${this.baseUrl}/${episodeId}.html`; + if (!episodeId.includes('.html')) episodeId = `/${episodeId}.html`; const servers = await this.fetchEpisodeServers(episodeId); const i = servers.findIndex(s => s.name.toLowerCase() === server.toLowerCase()); diff --git a/src/providers/movies/flixhq.ts b/src/providers/movies/flixhq.ts index f6988dffb..6a7ab2db5 100644 --- a/src/providers/movies/flixhq.ts +++ b/src/providers/movies/flixhq.ts @@ -20,6 +20,10 @@ class FlixHQ extends MovieParser { protected override classPath = 'MOVIES.FlixHQ'; override supportedTypes = new Set([TvType.MOVIE, TvType.TVSERIES]); + constructor(private proxyConfig?: any) { + super('https://flixhq.to', proxyConfig); + } + /** * * @param query search query string @@ -32,9 +36,7 @@ class FlixHQ extends MovieParser { results: [], }; try { - const { data } = await axios.get( - `${this.baseUrl}/search/${query.replace(/[\W_]+/g, '-')}?page=${page}` - ); + const { data } = await this.client.get(`/search/${query.replace(/[\W_]+/g, '-')}?page=${page}`); const $ = load(data); @@ -71,7 +73,7 @@ class FlixHQ extends MovieParser { */ override fetchMediaInfo = async (mediaId: string): Promise => { if (!mediaId.startsWith(this.baseUrl)) { - mediaId = `${this.baseUrl}/${mediaId}`; + mediaId = `/${mediaId}`; } const movieInfo: IMovieInfo = { @@ -80,7 +82,7 @@ class FlixHQ extends MovieParser { url: mediaId, }; try { - const { data } = await axios.get(mediaId); + const { data } = await this.client.get(mediaId); const $ = load(data); const recommendationsArray: IMovieResult[] = []; @@ -123,12 +125,10 @@ class FlixHQ extends MovieParser { movieInfo.rating = parseFloat($('span.item:nth-child(2)').text()); movieInfo.recommendations = recommendationsArray as any; const ajaxReqUrl = (id: string, type: string, isSeasons: boolean = false) => - `${this.baseUrl}/ajax/${type === 'movie' ? type : `v2/${type}`}/${ - isSeasons ? 'seasons' : 'episodes' - }/${id}`; + `/ajax/${type === 'movie' ? type : `v2/${type}`}/${isSeasons ? 'seasons' : 'episodes'}/${id}`; if (movieInfo.type === TvType.TVSERIES) { - const { data } = await axios.get(ajaxReqUrl(uid, 'tv', true)); + const { data } = await this.client.get(ajaxReqUrl(uid, 'tv', true)); const $$ = load(data); const seasonsIds = $$('.dropdown-menu > a') .map((i, el) => $(el).attr('data-id')) @@ -137,7 +137,7 @@ class FlixHQ extends MovieParser { movieInfo.episodes = []; let season = 1; for (const id of seasonsIds) { - const { data } = await axios.get(ajaxReqUrl(id, 'season')); + const { data } = await this.client.get(ajaxReqUrl(id, 'season')); const $$$ = load(data); $$$('.nav > li') @@ -187,22 +187,22 @@ class FlixHQ extends MovieParser { case StreamingServers.MixDrop: return { headers: { Referer: serverUrl.href }, - sources: await new MixDrop().extract(serverUrl), + sources: await new MixDrop(this.proxyConfig).extract(serverUrl), }; case StreamingServers.VidCloud: return { headers: { Referer: serverUrl.href }, - ...(await new VidCloud().extract(serverUrl, true)), + ...(await new VidCloud(this.proxyConfig).extract(serverUrl, true)), }; case StreamingServers.UpCloud: return { headers: { Referer: serverUrl.href }, - ...(await new VidCloud().extract(serverUrl)), + ...(await new VidCloud(this.proxyConfig).extract(serverUrl)), }; default: return { headers: { Referer: serverUrl.href }, - sources: await new MixDrop().extract(serverUrl), + sources: await new MixDrop(this.proxyConfig).extract(serverUrl), }; } } @@ -216,9 +216,7 @@ class FlixHQ extends MovieParser { throw new Error(`Server ${server} not found`); } - const { data } = await axios.get( - `${this.baseUrl}/ajax/get_link/${servers[i].url.split('.').slice(-1).shift()}` - ); + const { data } = await this.client.get(`/ajax/get_link/${servers[i].url.split('.').slice(-1).shift()}`); const serverUrl: URL = new URL(data.link); @@ -235,11 +233,11 @@ class FlixHQ extends MovieParser { */ override fetchEpisodeServers = async (episodeId: string, mediaId: string): Promise => { if (!episodeId.startsWith(this.baseUrl + '/ajax') && !mediaId.includes('movie')) - episodeId = `${this.baseUrl}/ajax/v2/episode/servers/${episodeId}`; - else episodeId = `${this.baseUrl}/ajax/movie/episodes/${episodeId}`; + episodeId = `/ajax/v2/episode/servers/${episodeId}`; + else episodeId = `/ajax/movie/episodes/${episodeId}`; try { - const { data } = await axios.get(episodeId); + const { data } = await this.client.get(episodeId); const $ = load(data); const servers = $('.nav > li') @@ -268,7 +266,7 @@ class FlixHQ extends MovieParser { fetchRecentMovies = async (): Promise => { try { - const { data } = await axios.get(`${this.baseUrl}/home`); + const { data } = await this.client.get(`/home`); const $ = load(data); const movies = $( @@ -299,7 +297,7 @@ class FlixHQ extends MovieParser { fetchRecentTvShows = async (): Promise => { try { - const { data } = await axios.get(`${this.baseUrl}/home`); + const { data } = await this.client.get(`/home`); const $ = load(data); const tvshows = $( @@ -329,7 +327,7 @@ class FlixHQ extends MovieParser { fetchTrendingMovies = async (): Promise => { try { - const { data } = await axios.get(`${this.baseUrl}/home`); + const { data } = await this.client.get(`/home`); const $ = load(data); const movies = $('div#trending-movies div.film_list-wrap div.flw-item') @@ -358,7 +356,7 @@ class FlixHQ extends MovieParser { fetchTrendingTvShows = async (): Promise => { try { - const { data } = await axios.get(`${this.baseUrl}/home`); + const { data } = await this.client.get(`/home`); const $ = load(data); const tvshows = $('div#trending-tv div.film_list-wrap div.flw-item') diff --git a/src/providers/movies/viewAsian.ts b/src/providers/movies/viewAsian.ts index b64c62654..e19717734 100644 --- a/src/providers/movies/viewAsian.ts +++ b/src/providers/movies/viewAsian.ts @@ -10,6 +10,7 @@ import { ISource, IMovieResult, ISearch, + ProxyConfig, } from '../../models'; import { MixDrop, AsianLoad, StreamTape, StreamSB } from '../../extractors'; @@ -20,6 +21,10 @@ class ViewAsian extends MovieParser { protected override classPath = 'MOVIES.ViewAsian'; override supportedTypes = new Set([TvType.MOVIE, TvType.TVSERIES]); + constructor(private proxyConfig?: ProxyConfig) { + super('https://viewasian.co', proxyConfig); + } + override search = async (query: string, page: number = 1): Promise> => { const searchResult: ISearch = { currentPage: page, @@ -28,9 +33,7 @@ class ViewAsian extends MovieParser { }; try { - const { data } = await axios.get( - `${this.baseUrl}/movie/search/${query.replace(/[\W_]+/g, '-')}?page=${page}` - ); + const { data } = await this.client.get(`/movie/search/${query.replace(/[\W_]+/g, '-')}?page=${page}`); const $ = load(data); @@ -64,8 +67,8 @@ class ViewAsian extends MovieParser { override fetchMediaInfo = async (mediaId: string): Promise => { const realMediaId = mediaId; - if (!mediaId.startsWith(this.baseUrl)) - mediaId = `${this.baseUrl}/watch/${mediaId.split('/').slice(1)}/watching.html`; + if (!mediaId.startsWith(this.baseUrl)) mediaId = `/watch/${mediaId.split('/').slice(1)}/watching.html`; + if (mediaId.startsWith(this.baseUrl)) mediaId = mediaId.replace(this.baseUrl, ''); const mediaInfo: IMovieInfo = { id: '', @@ -73,7 +76,7 @@ class ViewAsian extends MovieParser { }; try { - const { data } = await axios.get(mediaId); + const { data } = await this.client.get(mediaId); const $ = load(data); @@ -116,29 +119,29 @@ class ViewAsian extends MovieParser { const serverUrl = new URL(episodeId); switch (server) { case StreamingServers.AsianLoad: - return { ...(await new AsianLoad().extract(serverUrl)) }; + return { ...(await new AsianLoad(this.proxyConfig).extract(serverUrl)) }; case StreamingServers.MixDrop: return { - sources: await new MixDrop().extract(serverUrl), + sources: await new MixDrop(this.proxyConfig).extract(serverUrl), }; case StreamingServers.StreamTape: return { - sources: await new StreamTape().extract(serverUrl), + sources: await new StreamTape(this.proxyConfig).extract(serverUrl), }; case StreamingServers.StreamSB: return { - sources: await new StreamSB().extract(serverUrl), + sources: await new StreamSB(this.proxyConfig).extract(serverUrl), }; default: throw new Error('Server not supported'); } } if (!episodeId.includes('$episode$')) throw new Error('Invalid episode id'); - episodeId = `${this.baseUrl}${episodeId.replace('$episode$', '?ep=')}`; + episodeId = `${episodeId.replace('$episode$', '?ep=')}`; // return episodeId; try { - const { data } = await axios.get(episodeId); + const { data } = await this.client.get(episodeId); const $ = load(data);