Jandan.EPUB
煎蛋爬虫,基于Scrapy/Python,生成电子书。(A Scrapy-Based Spider for Jandan.net.)
Install / Use
/learn @gavinhub/Jandan.EPUBREADME
Jandan.EPUB - 煎蛋电子书
煎蛋爬虫,使用Scrapy,快完成了!
已经能生成电子书了,看起来还不错~
Spider for Jandan.net; Using Scrapy; Almost done!
It can generate the epub already, looks nice :]
Features
- 使用Scrapy框架 | Using Scrapy
- 收集文章内容 | Collect articles on jandan.net
- 生成电子书(equb) | Generate epub files
TODO
- [x] 抓取网页 | Capture webpages
- [x] 下载图片 | Download images
- [x] 整理内容,重新排版 | re-organize
- [x] 生成电子书 | make epub
- [ ] 美化样式 | beautify
- [x] 压缩图片 (No need) | Compress images
- [x] 优化爬取速度 (Should be futher imporved) | Speed up
- [ ] 优化交互 | UI
- [ ] 适配Windows | For Windows
- [ ] 妹子图Bonus :) | ooxx
Usage
###自动模式 - auto mode
./run.sh [-d <days>] [-f <from date> -t <to date>] [-n filename]
###手动模式 - manual mode scrapy crawl jandan-article [-L INFO|ERROR|...] [-a dates=(DAYS|RANGE)] [-a length=<days>] [-a from=<from date> -a to=<to date>]` ./mkepub.py [-n filename]
###Examples 下载三天内文章,生成名为“FirstBlood”的电子书
./run.sh -d 3 -n FirstBlood
或
scrapy crawl jandan-article -L ERROR -a dates=DAYS -a length=3
./mkepub.py -n FirstBlood
Related Skills
node-connect
350.1kDiagnose OpenClaw node connection and pairing failures for Android, iOS, and macOS companion apps
frontend-design
109.9kCreate distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, or applications. Generates creative, polished code that avoids generic AI aesthetics.
openai-whisper-api
350.1kTranscribe audio via OpenAI Audio Transcriptions API (Whisper).
qqbot-media
350.1kQQBot 富媒体收发能力。使用 <qqmedia> 标签,系统根据文件扩展名自动识别类型(图片/语音/视频/文件)。
