diff --git a/src/lib/gomostream.js b/src/lib/gomostream.js index affebfbf..fc88e899 100644 --- a/src/lib/gomostream.js +++ b/src/lib/gomostream.js @@ -5,7 +5,7 @@ const BASE_URL = `${CORS_URL}https://gomo.to`; const MOVIE_URL = `${BASE_URL}/movie` const DECODING_URL = `${BASE_URL}/decoding_v3.php` -async function findContent(searchTerm, type) { +async function findContentGomo(searchTerm, type) { try { if (type !== 'movie') return; @@ -39,7 +39,7 @@ async function findContent(searchTerm, type) { } } -async function getStreamUrl(slug, type, season, episode) { +async function getStreamUrlGomo(slug, type, season, episode) { if (type !== 'movie') return; // Get stream to go with IMDB ID @@ -75,4 +75,4 @@ async function getStreamUrl(slug, type, season, episode) { return { url } } -export { findContent, getStreamUrl } \ No newline at end of file +export { findContentGomo, getStreamUrlGomo } \ No newline at end of file diff --git a/src/views/Search.js b/src/views/Search.js index 6be9256f..75104a0e 100644 --- a/src/views/Search.js +++ b/src/views/Search.js @@ -6,8 +6,8 @@ import { ErrorBanner } from '../components/ErrorBanner' import { MovieRow } from '../components/MovieRow' import { Arrow } from '../components/Arrow' import { Progress } from '../components/Progress' -import { /* findContent, getStreamUrl,*/ getEpisodes } from '../lib/lookMovie' -import { findContent, getStreamUrl } from '../lib/gomostream'; +import { findContent, getStreamUrl, getEpisodes } from '../lib/lookMovie' +// import { findContentGomo, getStreamUrlGomo } from '../lib/gomostream'; import { useMovie } from '../hooks/useMovie'; import { TypeSelector } from '../components/TypeSelector'