将网页 URL 转换为电子书。当用户提到网页转电子书、URL 转 ebook、网页转 EPUB、离线阅读网页、pospider 时使用。
84%
Does it follow best practices?
Run evals on this skill
Adds up to 20 points to the overall score
Low
Low-risk findings worth noting
将指定网页转换为电子书
抓取网页主要内容,生成可离线阅读的电子书。依赖可选包 pospider。
office/skills/web/url2ebook/
from skills.web import url2ebook
url2ebook(
url='https://www.python-office.com',
tile='Python-Office自动化办公指南'
)| 参数 | 类型 | 必填 | 默认值 | 说明 |
|---|---|---|---|---|
url | str | 是 | - | 要转换的网页地址 |
tile | str | 是 | - | 电子书标题(参数名是 tile,不是 title) |
None(成功后生成电子书文件)
from skills.web import url2ebook
url2ebook(url='https://www.python-office.com', tile='Python-Office自动化办公指南')office.api.web.url2ebook
examples/pospider/网页转电子书.py
CoderWanFeng/python-office
549bdc9
If you maintain this skill, you can claim it as your own. Once claimed, you can manage eval scenarios, bundle related skills, attach documentation or rules, and ensure cross-agent compatibility.