wikiextensions-flix
Advanced tools
Comparing version 1.8.6 to 1.8.7
@@ -7,2 +7,3 @@ "use strict"; | ||
const axios_1 = __importDefault(require("axios")); | ||
const https_1 = __importDefault(require("https")); | ||
class VidCloud { | ||
@@ -85,3 +86,6 @@ serverName = 'VidCloud'; | ||
//console.log(res.data.subtitle[0]) | ||
const { data } = await axios_1.default.get(res.data.source); | ||
const axiosInstance = axios_1.default.create({ | ||
httpsAgent: new https_1.default.Agent({ rejectUnauthorized: false }) | ||
}); | ||
const { data } = await axiosInstance.get(res.data.source); | ||
//for (const source of sources) { | ||
@@ -88,0 +92,0 @@ //const { data } = await axios.get(source.file, options); |
{ | ||
"name": "wikiextensions-flix", | ||
"version": "1.8.6", | ||
"version": "1.8.7", | ||
"description": "Nodejs library that provides an Api for obtaining the movies information from FlixHQ website.", | ||
@@ -5,0 +5,0 @@ "main": "dist/index.js", |
import axios from 'axios'; | ||
import https from 'https'; | ||
import cryptoJs from 'crypto-js'; | ||
@@ -92,3 +93,6 @@ import { IVideoResult } from '../types/types'; | ||
const { data } = await axios.get(res.data.source); | ||
const axiosInstance = axios.create({ | ||
httpsAgent: new https.Agent({ rejectUnauthorized: false }) | ||
}); | ||
const { data } = await axiosInstance.get(res.data.source); | ||
@@ -95,0 +99,0 @@ |
@@ -9,3 +9,3 @@ import { MOVIES } from "../src"; | ||
//console.log(search.results[0]); | ||
const data = await FlixHQ.fetchMovieInfo('movie/watch-aquaman-and-the-lost-kingdom-104119'); | ||
const data = await FlixHQ.fetchMovieInfo('movie/watch-madame-web-105676'); | ||
//const server = await FlixHQ.fetchEpisodeServers(data.id, data.episodes[0].id); | ||
@@ -12,0 +12,0 @@ //console.log(JSON.stringify(server)); |
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
Network access
Supply chain riskThis module accesses the network.
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
137862
1999
1