优化:移除unused依赖、懒加载和容错处理

This commit is contained in:
Liang Jiaqing
2026-02-01 20:03:39 +08:00
parent da10ba404b
commit 6e6e5d989d
3 changed files with 5 additions and 4 deletions

View File

@@ -1,4 +1,5 @@
from bs4 import BeautifulSoup
try: from bs4 import BeautifulSoup
except ImportError: print("[Error] BeautifulSoup4 未安装请叫Agent安装BeautifulSoup4再使用web相关工具。")
js_optHTML = r'''function optHTML() {
function createEnhancedDOMCopy() {