wikiextensions-flix
Advanced tools
Comparing version 1.8.4 to 1.8.5
@@ -83,4 +83,4 @@ "use strict"; | ||
let res = await axios_1.default.post(`${rabbit_url}/${isAlternative ? "vidcloud" : "upcloud"}`, { "id": id }); | ||
//console.log(res.data.subtitle[0]) | ||
const { data } = await axios_1.default.get(res.data.source); | ||
console.log(data); | ||
//for (const source of sources) { | ||
@@ -107,3 +107,3 @@ //const { data } = await axios.get(source.file, options); | ||
}); | ||
videoResult.subtiles = res.data.subtitle.map((s) => ({ | ||
videoResult.subtiles = res.data.subtitle[0].map((s) => ({ | ||
url: s.file, | ||
@@ -110,0 +110,0 @@ lang: s.label ? s.label : 'Default', |
{ | ||
"name": "wikiextensions-flix", | ||
"version": "1.8.4", | ||
"version": "1.8.5", | ||
"description": "Nodejs library that provides an Api for obtaining the movies information from FlixHQ website.", | ||
@@ -5,0 +5,0 @@ "main": "dist/index.js", |
@@ -89,5 +89,8 @@ import axios from 'axios'; | ||
) | ||
//console.log(res.data.subtitle[0]) | ||
const { data } = await axios.get(res.data.source); | ||
console.log(data) | ||
//for (const source of sources) { | ||
@@ -119,3 +122,3 @@ //const { data } = await axios.get(source.file, options); | ||
videoResult.subtiles = res.data.subtitle.map((s: any) => ({ | ||
videoResult.subtiles = res.data.subtitle[0].map((s: any) => ({ | ||
url: s.file, | ||
@@ -122,0 +125,0 @@ lang: s.label ? s.label : 'Default', |
@@ -12,4 +12,4 @@ import { MOVIES } from "../src"; | ||
//console.log(JSON.stringify(server)); | ||
const source = await FlixHQ.fetchEpisodeSources(data.id, data.episodes[0].id, StreamingServers.VidCloud) as IVideoResult; | ||
const source = await FlixHQ.fetchEpisodeSources(data.id, data.episodes[0].id, StreamingServers.UpCloud) as IVideoResult; | ||
console.log(JSON.stringify(source)); | ||
})(); |
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
137341