diff --git a/src/lib/index.js b/src/lib/index.js index 27915eca..3174c2bd 100644 --- a/src/lib/index.js +++ b/src/lib/index.js @@ -1,5 +1,5 @@ -import lookMovie from './lookMovie'; -import gomostream from './gomostream'; +import lookMovie from './scraper/lookmovie'; +import gomostream from './scraper/gomostream'; async function findContent(searchTerm, type) { const results = { options: []}; diff --git a/src/lib/gomostream.js b/src/lib/scraper/gomostream.js similarity index 98% rename from src/lib/gomostream.js rename to src/lib/scraper/gomostream.js index 9d092827..07b067e0 100644 --- a/src/lib/gomostream.js +++ b/src/lib/scraper/gomostream.js @@ -1,4 +1,4 @@ -import { unpack } from './util/unpacker'; +import { unpack } from '../util/unpacker'; const CORS_URL = 'https://movie-web-proxy.herokuapp.com/'; const BASE_URL = `${CORS_URL}https://gomo.to`; diff --git a/src/lib/lookMovie.js b/src/lib/scraper/lookmovie.js similarity index 100% rename from src/lib/lookMovie.js rename to src/lib/scraper/lookmovie.js