Merge pull request #97 from movie-web/dev

Version 2.2.1 - Closeload and Docs update
This commit is contained in:
William Oldham
2024-02-23 08:43:55 +00:00
committed by GitHub
6 changed files with 19 additions and 14 deletions

View File

@@ -2,6 +2,9 @@
title: 'Changelog' title: 'Changelog'
--- ---
# Version 2.2.1
- Fixed Closeload scraper
# Version 2.2.0 # Version 2.2.0
- Fixed vidsrc.me URL decoding. - Fixed vidsrc.me URL decoding.
- Added ridomovies with Ridoo and Closeload embed. - Added ridomovies with Ridoo and Closeload embed.

View File

@@ -7627,9 +7627,9 @@
} }
}, },
"node_modules/ip": { "node_modules/ip": {
"version": "2.0.0", "version": "2.0.1",
"resolved": "https://registry.npmjs.org/ip/-/ip-2.0.0.tgz", "resolved": "https://registry.npmjs.org/ip/-/ip-2.0.1.tgz",
"integrity": "sha512-WKa+XuLG1A1R0UWhl2+1XQSi+fZWMsYKffMZTTYsiZaUD8k2yDAj5atimTUD2TZkyCkNEeYE5NhFZmupOGtjYQ==", "integrity": "sha512-lJUL9imLTNi1ZfXT+DU6rBBdbiKGBuay9B6xGSPVjUeQwaH1RIGqef8RZkUtHioLmSNpPR5M4HVKJGm1j8FWVQ==",
"dev": true "dev": true
}, },
"node_modules/iron-webcrypto": { "node_modules/iron-webcrypto": {
@@ -16642,9 +16642,9 @@
} }
}, },
"node_modules/undici": { "node_modules/undici": {
"version": "5.27.2", "version": "5.28.3",
"resolved": "https://registry.npmjs.org/undici/-/undici-5.27.2.tgz", "resolved": "https://registry.npmjs.org/undici/-/undici-5.28.3.tgz",
"integrity": "sha512-iS857PdOEy/y3wlM3yRp+6SNQQ6xU0mmZcwRSriqk+et/cwWAtwmIGf6WkoDN2EK/AMdCO/dfXzIwi+rFMrjjQ==", "integrity": "sha512-3ItfzbrhDlINjaP0duwnNsKpDQk3acHI3gVJ1z4fmwMK31k5G9OVIAMLSIaP6w4FaGkaAkN6zaQO9LUvZ1t7VA==",
"dev": true, "dev": true,
"dependencies": { "dependencies": {
"@fastify/busboy": "^2.0.0" "@fastify/busboy": "^2.0.0"

View File

@@ -26,6 +26,8 @@ jobs:
- name: Build project - name: Build project
working-directory: ./.docs working-directory: ./.docs
run: npm run generate run: npm run generate
env:
NUXT_APP_BASE_URL: /providers/
- name: Upload production-ready build files - name: Upload production-ready build files
uses: actions/upload-pages-artifact@v1 uses: actions/upload-pages-artifact@v1

12
package-lock.json generated
View File

@@ -3357,9 +3357,9 @@
} }
}, },
"node_modules/ip": { "node_modules/ip": {
"version": "1.1.8", "version": "1.1.9",
"resolved": "https://registry.npmjs.org/ip/-/ip-1.1.8.tgz", "resolved": "https://registry.npmjs.org/ip/-/ip-1.1.9.tgz",
"integrity": "sha512-PuExPYUiu6qMBQb4l06ecm6T6ujzhmh+MeJcW9wa89PoAz5pvd4zPgN5WJV104mb6S2T1AwNIAaB70JNrLQWhg==", "integrity": "sha512-cyRxvOEpNHNtchU3Ln9KC/auJgup87llfQpQ+t5ghoC/UhL16SWzbueiCsdTnWmqAWl7LadfuwhlqmtOaqMHdQ==",
"dev": true "dev": true
}, },
"node_modules/is-array-buffer": { "node_modules/is-array-buffer": {
@@ -4937,9 +4937,9 @@
} }
}, },
"node_modules/socks/node_modules/ip": { "node_modules/socks/node_modules/ip": {
"version": "2.0.0", "version": "2.0.1",
"resolved": "https://registry.npmjs.org/ip/-/ip-2.0.0.tgz", "resolved": "https://registry.npmjs.org/ip/-/ip-2.0.1.tgz",
"integrity": "sha512-WKa+XuLG1A1R0UWhl2+1XQSi+fZWMsYKffMZTTYsiZaUD8k2yDAj5atimTUD2TZkyCkNEeYE5NhFZmupOGtjYQ==", "integrity": "sha512-lJUL9imLTNi1ZfXT+DU6rBBdbiKGBuay9B6xGSPVjUeQwaH1RIGqef8RZkUtHioLmSNpPR5M4HVKJGm1j8FWVQ==",
"dev": true "dev": true
}, },
"node_modules/source-map": { "node_modules/source-map": {

View File

@@ -1,6 +1,6 @@
{ {
"name": "@movie-web/providers", "name": "@movie-web/providers",
"version": "2.2.0", "version": "2.2.1",
"description": "Package that contains all the providers of movie-web", "description": "Package that contains all the providers of movie-web",
"main": "./lib/index.umd.js", "main": "./lib/index.umd.js",
"types": "./lib/index.d.ts", "types": "./lib/index.d.ts",

View File

@@ -43,7 +43,7 @@ export const closeLoadScraper = makeEmbed({
const evalCode = iframeRes$('script') const evalCode = iframeRes$('script')
.filter((_, el) => { .filter((_, el) => {
const script = iframeRes$(el); const script = iframeRes$(el);
return (script.attr('type') === 'text/javascript' && script.html()?.includes('eval')) ?? false; return (script.attr('type') === 'text/javascript' && script.html()?.includes('p,a,c,k,e,d')) ?? false;
}) })
.html(); .html();
if (!evalCode) throw new Error("Couldn't find eval code"); if (!evalCode) throw new Error("Couldn't find eval code");