diff --git a/src/scripts/classes/query/thread-search-query.ts b/src/scripts/classes/query/thread-search-query.ts index 3bd3a9a..4f2f7d4 100644 --- a/src/scripts/classes/query/thread-search-query.ts +++ b/src/scripts/classes/query/thread-search-query.ts @@ -4,9 +4,9 @@ import validator from 'class-validator'; // Module from files -import { IQuery, TCategory, TQueryInterface } from "../interfaces"; -import { urls } from "../constants/url"; -import PrefixParser from "./prefix-parser"; +import { IQuery, TCategory, TQueryInterface } from "../../interfaces"; +import { urls } from "../../constants/url"; +import PrefixParser from "./../prefix-parser"; // Type definitions export type TThreadOrder = "relevance" | "date" | "last_update" | "replies"; diff --git a/src/scripts/scrape-data/scrape-thread.ts b/src/scripts/scrape-data/scrape-thread.ts index b5dd3b3..42a984c 100644 --- a/src/scripts/scrape-data/scrape-thread.ts +++ b/src/scripts/scrape-data/scrape-thread.ts @@ -5,12 +5,12 @@ import cheerio from "cheerio"; import luxon from "luxon"; // Modules from file -import shared from "./shared.js"; -import { fetchHTML } from "./network-helper.js"; -import { getJSONLD, TJsonLD } from "./json-ld.js"; -import { selectors as f95Selector } from "./constants/css-selector.js"; -import HandiWork from "./classes/handiwork/handiwork.js"; -import { TRating, IBasic, TAuthor, TExternalPlatform, TEngine, TStatus, TCategory } from "./interfaces.js"; +import shared from "../shared.js"; +import { fetchHTML } from "../network-helper.js"; +import { getJSONLD, TJsonLD } from "../json-ld.js"; +import { selectors as f95Selector } from "../constants/css-selector.js"; +import HandiWork from "../classes/handiwork/handiwork.js"; +import { TRating, IBasic, TAuthor, TExternalPlatform, TEngine, TStatus, TCategory } from "../interfaces.js"; import { ILink, IPostElement, parseCheerioMainPost } from "./post-parse.js"; //#region Public methods diff --git a/src/scripts/scrape-data/scrape-user.ts b/src/scripts/scrape-data/scrape-user.ts index 0b54241..76530fa 100644 --- a/src/scripts/scrape-data/scrape-user.ts +++ b/src/scripts/scrape-data/scrape-user.ts @@ -4,10 +4,10 @@ import cheerio from "cheerio"; // Modules from file -import { fetchHTML } from "./network-helper.js"; -import { selectors as f95Selector } from "./constants/css-selector.js"; -import { urls as f95url } from "./constants/url.js"; -import UserData from "./classes/user-data.js"; +import { fetchHTML } from "../network-helper.js"; +import { selectors as f95Selector } from "../constants/css-selector.js"; +import { urls as f95url } from "../constants/url.js"; +import UserData from "../classes/user-data.js"; /** * Gets user data, such as username, url of watched threads, and profile picture url.