Install
openclaw skills install @kaiyuelv/website-screenshot-toolWebsite Screenshot Automation Tool - 网站截图自动化,支持响应式截图、批量处理、定时调度、视觉对比 | Automated website screenshots with responsive capture, batch processing, scheduling, visual comparison
openclaw skills install @kaiyuelv/website-screenshot-toolfrom scripts.website_screenshot import WebsiteScreenshot, ScreenshotScheduler
tool = WebsiteScreenshot(output_dir="screenshots")
# 单页截图
result = tool.capture("https://example.com", full_page=True)
# 响应式截图(桌面/平板/手机)
results = tool.capture_responsive("https://example.com")
# 批量截图
results = tool.capture_batch(["https://site1.com", "https://site2.com"])
# 对比两个网页
diff = tool.compare("https://site.com/v1", "https://site.com/v2")
# 定时截图
scheduler = ScreenshotScheduler(tool)
scheduler.add_job("https://example.com", interval_minutes=60)
python3 scripts/website_screenshot.py