From d7e41ec3960f08f3f28f00ff95d2471051045be6 Mon Sep 17 00:00:00 2001 From: supersourlemons Date: Sat, 3 May 2025 12:39:07 -0500 Subject: [PATCH 1/3] Update helper.js --- modules/helper.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/helper.js b/modules/helper.js index 0077904..1a867e9 100755 --- a/modules/helper.js +++ b/modules/helper.js @@ -64,7 +64,7 @@ import fs from 'fs' import url from 'url' import {franc} from 'franc' import langs from 'langs' -import cheerio from 'cheerio' +import * as cheerio from 'cheerio' import path from 'path' import slash from 'slash' import colors from 'colors/safe.js' From a9d67bb4a7690ed00bf98821f5356aea33bfe417 Mon Sep 17 00:00:00 2001 From: supersourlemons Date: Sat, 3 May 2025 12:39:29 -0500 Subject: [PATCH 2/3] Update extraction.js --- modules/extraction.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/extraction.js b/modules/extraction.js index 2e5f1ae..ec6074d 100755 --- a/modules/extraction.js +++ b/modules/extraction.js @@ -1,5 +1,5 @@ import helper from './helper.js' -import cheerio from 'cheerio' +import * as cheerio from 'cheerio' const strings_meta = new RegExp('regionsAllowed|width|height|color|rgba\\(|charset|viewport|refresh|equiv', 'i') From 52f7eba0f2ca26d7a41f595461000e852b0fad31 Mon Sep 17 00:00:00 2001 From: supersourlemons Date: Sat, 3 May 2025 12:40:05 -0500 Subject: [PATCH 3/3] Update fast-scan.js --- modules/fast-scan.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/fast-scan.js b/modules/fast-scan.js index 2087e0c..418d21e 100755 --- a/modules/fast-scan.js +++ b/modules/fast-scan.js @@ -3,7 +3,7 @@ import extraction from './extraction.js' import async from 'async' import sanitizeHtml from 'sanitize-html' import {convert} from 'html-to-text' -import cheerio from 'cheerio' +import * as cheerio from 'cheerio' import engine from './engine.js' async function find_username_normal (req) {