diff --git a/src/scripts/constants/css-selector.ts b/src/scripts/constants/css-selector.ts index 4ad2318..d0c37f1 100644 --- a/src/scripts/constants/css-selector.ts +++ b/src/scripts/constants/css-selector.ts @@ -1,4 +1,4 @@ -module.exports = Object.freeze({ +export const selectors = { GT_IMAGES: "img:not([title])[data-src^=\"https://attachments.f95zone.to\"][data-url=\"\"]", GT_TAGS: "a.tagItem", GT_TITLE: "h1.p-title-value", @@ -18,4 +18,4 @@ module.exports = Object.freeze({ UD_AVATAR_PIC: "a[href=\"/account/\"] > span.avatar > img[class^=\"avatar\"]", LOGIN_MESSAGE_ERROR: "div.blockMessage.blockMessage--error.blockMessage--iconic", LU_TAGS_SCRIPT: "script:contains('latestUpdates')", -}); +}; diff --git a/src/scripts/constants/url.ts b/src/scripts/constants/url.ts index 6931f82..9d09b6f 100644 --- a/src/scripts/constants/url.ts +++ b/src/scripts/constants/url.ts @@ -1,7 +1,7 @@ -module.exports = Object.freeze({ +export const urls = { F95_BASE_URL: "https://f95zone.to", F95_SEARCH_URL: "https://f95zone.to/search/?type=post", F95_LATEST_UPDATES: "https://f95zone.to/latest", F95_LOGIN_URL: "https://f95zone.to/login/login", F95_WATCHED_THREADS: "https://f95zone.to/watched/threads", -}); +};