mirror of
https://github.com/movie-web/movie-web.git
synced 2024-12-24 19:11:49 +01:00
change function names
This commit is contained in:
parent
7ee63c4c7f
commit
0528531bb5
@ -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 }
|
||||
export { findContentGomo, getStreamUrlGomo }
|
@ -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'
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user