feat(tms_service): 添加html_scraper模块替代openai解析链接

使用html_scraper模块通过CSS选择器直接解析HTML获取链接和token,替代之前依赖openai的方式
This commit is contained in:
Yakumo Hokori
2025-07-16 14:54:21 +08:00
parent 2d4f4a7d6e
commit 1067b6016f
5 changed files with 108 additions and 6 deletions

View File

@@ -0,0 +1,9 @@
[package]
name = "html_scraper"
version = "0.1.0"
edition = "2024"
[dependencies]
scraper = "0.19.1"
thiserror = "1.0"
regex = "1.10.5"