fix mistake.
This commit is contained in:
parent
164b7e72c4
commit
637bc38476
|
@ -3,6 +3,7 @@ const { JSDOM } = require("jsdom");
|
||||||
const { Readability } = require("@mozilla/readability");
|
const { Readability } = require("@mozilla/readability");
|
||||||
|
|
||||||
const { getUserAgent } = require('../../utils/user-agent');
|
const { getUserAgent } = require('../../utils/user-agent');
|
||||||
|
const { blockedRegexes, matchUrlDomain } = require("../../utils/sites");
|
||||||
|
|
||||||
module.exports.getDetails = async (url) => {
|
module.exports.getDetails = async (url) => {
|
||||||
const { userAgent, headers } = getUserAgent(url);
|
const { userAgent, headers } = getUserAgent(url);
|
||||||
|
|
Loading…
Reference in New Issue
Block a user