MCPcopy Create free account
hub / github.com/TeleBoxOrg/TeleBox_Plugins / htmlEscape

Function htmlEscape

bgp/bgp.ts:11–18  ·  view source on GitHub ↗
(text: string)

Source from the content-addressed store, hash-verified

9import * as cheerio from "cheerio";
10
11import { htmlEscape } from "@utils/htmlEscape";
12
13const BGP_COMMON_HEADERS = {
14 "User-Agent":
15 "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/122.0.6261.112 Safari/537.36",
16 "Accept":
17 "text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,*/*;q=0.8",
18 "Accept-Encoding": "gzip, deflate",
19 "Referer": "https://bgp.tools/",
20 "Accept-Language": "en-US,en;q=0.9,zh-CN;q=0.8,zh;q=0.7",
21 "Upgrade-Insecure-Requests": "1",

Callers 1

BGPPluginClass · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected