Files
astrbot_plugin_linuxdo/metadata.yaml
RainySY a13be98c26 fix: resolve code review issues - config integration, thread safety, cleanup
- Remove duplicate @staticmethod decorator on _take_screenshot
- Wire up _conf_schema.json config items to actual code:
  - max_content_length (was hardcoded 400)
  - screenshot_timeout (was hardcoded 30000/20000ms)
- Remove unused StealthyFetcher import and dead code (StealthyFetcher.adaptive=True)
- Fix _stats thread safety with threading.Lock
- Fix metadata.yaml author field (was plugin name, now 'RainySY')
- Sync README: correct screenshot size, remove non-existent screenshot_width config,
  fix asyncio.to_thread() -> run_in_executor()
- Add MIT LICENSE file
- Explicitly declare lxml>=5.0 in requirements.txt
2026-06-15 19:28:45 +08:00

12 lines
505 B
YAML

name: astrbot_plugin_linuxdo
display_name: LinuxDo Preview
short_desc: 自动检测 linux.do 链接,绕过 Cloudflare 截图发送预览
desc: >
自动检测聊天消息中的 linux.do 链接,使用 Scrapling 的 StealthySession
绕过 Cloudflare Turnstile 防护,获取页面截图和内容摘要并发送预览。
支持缓存避免重复请求,异步非阻塞设计。
author: RainySY
version: 1.0.0
repo: https://github.com/sakuradairong/astrbot_plugin_linuxdo
astrbot_version: ">=4.16"