diff --git a/src/platforms/gal/Nysoure.ts b/src/platforms/gal/Nysoure.ts index 6335dee..99e2fee 100644 --- a/src/platforms/gal/Nysoure.ts +++ b/src/platforms/gal/Nysoure.ts @@ -1,13 +1,13 @@ import { fetchClient } from "../../utils/httpClient"; import type { Platform, PlatformSearchResult, SearchResultItem } from "../../types"; -const API_URL = "https://res.nyne.dev/api/resource/search"; -const BASE_URL = "https://res.nyne.dev/resources/"; +const API_URL = "https://nysoure.com/api/resource/search"; +const BASE_URL = "https://nysoure.com/resources/"; interface NysoureItem { id: number; title: string; -} +} interface NysoureResponse { success: boolean; diff --git a/src/platforms/gal/VikaACG.ts b/src/platforms/gal/VikaACG.ts index 50489ec..d9caf39 100644 --- a/src/platforms/gal/VikaACG.ts +++ b/src/platforms/gal/VikaACG.ts @@ -1,8 +1,30 @@ import { fetchClient } from "../../utils/httpClient"; import type { Platform, PlatformSearchResult, SearchResultItem } from "../../types"; -const API_URL = "https://www.vikacg.com/wp-json/b2/v1/getPostList"; -const REGEX = /