Back
Version 8
9/12/2024
/* esm.sh - esbuild bundle(@extractus/feed-extractor@7.1.3) es2022 development */
import { hasProperty, isArray, isObject, isString, stripTags, truncate } from "npm:bellajs@11.2.0";
import { XMLParser } from "npm:fast-xml-parser@4.5.0";
import { decode, encode } from "npm:html-entities@2.5.2";
var isValid = (url = "") => {
try {
const ourl = new URL(url);
return ourl !== null && ourl.protocol.startsWith("http");
} catch {
return false;
}
};
var absolutify = (fullUrl = "", relativeUrl = "") => {
try {
const result = new URL(relativeUrl, fullUrl);
return result.toString();
} catch {
return "";
}
};
var blacklistKeys = [
"CNDID",
"__twitter_impression",
"_hsenc",
"_openstat",
"action_object_map",
"action_ref_map",
"action_type_map",
"amp",
"fb_action_ids",
"fb_action_types",
"fb_ref",
"fb_source",
"fbclid",
Updated: September 12, 2024