← 返回
数据分析 中文

URL to PDF

Convert URL to PDF suitable for mobile reading.
将网址转换为适合移动端阅读的PDF
guoqiao
数据分析 clawhub v0.0.2 1 版本 99883.7 Key: 无需
★ 0
Stars
📥 1,718
下载
💾 57
安装
1
版本
#iphone#latest#mobile#pdf#reading#url-to-pdf#url2pdf

概述

URL to PDF

Given a url for a webpage, convert it to pdf suitable for mobile reading.

See examples.

Requirements

  • uv

Installation

playwright itself will be installed by uv automatically, while it also needs browser to be installed:

uvx playwright install chromium

Usage

uv run --script ${baseDir}/url2pdf.py "${url}"

Path to pdf will be printed to stdout.

Agent Instructions

  1. Run the script: Pass the url to be converted as an argument.
  2. Handle Output: The script will output a path to a pdf file.

Use the message tool to send the pdf file to the user as a document message:

{
   "action": "send",
   "filePath": "<filepath>"
}

版本历史

共 1 个版本

  • v0.0.2 当前
    2026-03-28 22:22 安全 安全

安全检测

腾讯云安全 (Keen)

安全,无风险
查看报告

腾讯云安全 (Sanbu)

安全,无风险
查看报告

🔗 相关推荐

data-analysis

Data Analysis

ivangdavila
{"answer":"数据分析与可视化。查询数据库、生成报告、自动化电子表格,将原始数据转化为清晰可行的见解。适用于:(1) 您……"}
★ 199 📥 65,232
ai-intelligence

MLX STT

guoqiao
基于MLX(Apple Silicon)与开源模型(默认GLM-ASR-Nano-2512)的本地语音转文本。
★ 2 📥 4,677
data-analysis

A股量化 AkShare

mbpz
A股量化数据分析工具,基于AkShare库获取A股行情、财务数据、板块信息等。用于回答关于A股股票查询、行情数据、财务分析、选股等问题。
★ 166 📥 60,201