Skip to content

Commit 0282eac

Browse files
authored
Merge pull request #136 from qeeqbox/revert-135-main
Revert "Fix for cheerio module error"
2 parents bef0f6d + 0663486 commit 0282eac

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

modules/extraction.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import helper from './helper.js'
2-
import * as cheerio from 'cheerio'
2+
import cheerio from 'cheerio'
33

44

55
const strings_meta = new RegExp('regionsAllowed|width|height|color|rgba\\(|charset|viewport|refresh|equiv', 'i')

modules/fast-scan.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ import extraction from './extraction.js'
33
import async from 'async'
44
import sanitizeHtml from 'sanitize-html'
55
import {convert} from 'html-to-text'
6-
import * as cheerio from 'cheerio'
6+
import cheerio from 'cheerio'
77
import engine from './engine.js'
88

99
async function find_username_normal (req) {

modules/helper.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ import fs from 'fs'
6464
import url from 'url'
6565
import {franc} from 'franc'
6666
import langs from 'langs'
67-
import * as cheerio from 'cheerio'
67+
import cheerio from 'cheerio'
6868
import path from 'path'
6969
import slash from 'slash'
7070
import colors from 'colors/safe.js'

0 commit comments

Comments
 (0)