Update index.js

This commit is contained in:
James Hawkins 2022-01-30 20:33:12 +00:00 committed by GitHub
parent 644be8256a
commit 116a679736
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -5,7 +5,7 @@ import vidzstore from './scraper/vidzstore';
async function findContent(searchTerm, type) { async function findContent(searchTerm, type) {
const results = { options: []}; const results = { options: []};
const content = await Promise.all([ const content = await Promise.all([
lookmovie.findContent(searchTerm, type), // lookmovie.findContent(searchTerm, type),
theflix.findContent(searchTerm, type), theflix.findContent(searchTerm, type),
vidzstore.findContent(searchTerm, type) vidzstore.findContent(searchTerm, type)
]); ]);
@ -46,4 +46,4 @@ async function getEpisodes(slug, source) {
} }
} }
export { findContent, getStreamUrl, getEpisodes } export { findContent, getStreamUrl, getEpisodes }