diff --git a/modules/extraction.js b/modules/extraction.js index ec6074d..2e5f1ae 100755 --- a/modules/extraction.js +++ b/modules/extraction.js @@ -1,5 +1,5 @@ import helper from './helper.js' -import * as cheerio from 'cheerio' +import cheerio from 'cheerio' const strings_meta = new RegExp('regionsAllowed|width|height|color|rgba\\(|charset|viewport|refresh|equiv', 'i') diff --git a/modules/fast-scan.js b/modules/fast-scan.js index 418d21e..2087e0c 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 * as cheerio from 'cheerio' +import cheerio from 'cheerio' import engine from './engine.js' async function find_username_normal (req) { diff --git a/modules/helper.js b/modules/helper.js index 1a867e9..0077904 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 * as cheerio from 'cheerio' +import cheerio from 'cheerio' import path from 'path' import slash from 'slash' import colors from 'colors/safe.js'