wikiextensions-flix
Advanced tools
Comparing version 1.7.7 to 1.7.8
@@ -8,3 +8,2 @@ "use strict"; | ||
const crypto_js_1 = __importDefault(require("crypto-js")); | ||
const utils_1 = require("../utils"); | ||
class VidCloud { | ||
@@ -30,3 +29,3 @@ serverName = 'VidCloud'; | ||
let sources = null; | ||
if (!(0, utils_1.isJson)(data.sources)) { | ||
if (data.encrypted) { | ||
// const key = await (await axios.get('https://raw.githubusercontent.com/enimax-anime/key/e4/key.txt')).data; | ||
@@ -54,2 +53,5 @@ //const key = await (await axios.get('https://raw.githubusercontent.com/theonlymo/keys/e4/key')).data; | ||
} | ||
else { | ||
sources = data.sources; | ||
} | ||
for (const source of sources) { | ||
@@ -56,0 +58,0 @@ const { data } = await axios_1.default.get(source.file, options); |
{ | ||
"name": "wikiextensions-flix", | ||
"version": "1.7.7", | ||
"version": "1.7.8", | ||
"description": "Nodejs library that provides an Api for obtaining the movies information from FlixHQ website.", | ||
@@ -5,0 +5,0 @@ "main": "dist/index.js", |
@@ -30,3 +30,3 @@ import axios from 'axios'; | ||
if (!isJson(data.sources)) { | ||
if (data.encrypted) { | ||
// const key = await (await axios.get('https://raw.githubusercontent.com/enimax-anime/key/e4/key.txt')).data; | ||
@@ -58,2 +58,5 @@ //const key = await (await axios.get('https://raw.githubusercontent.com/theonlymo/keys/e4/key')).data; | ||
} | ||
else { | ||
sources = data.sources; | ||
} | ||
@@ -60,0 +63,0 @@ for (const source of sources) { |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
131762
1901