目標:用爬蟲抓取該網站指定小說的所有章節,再壓成 Epub,最後在閱讀器上爽看
- 使用 AngleSharp 爬取網站上的章節目錄和小說內文
- 將每個章節各自寫入 Html 檔(如: 第一章、第二章…)
- 使用 Pandoc 將 Html 包裝成 ePub 格式
- (額外處理)因為我個人使用 Kobo,故需要再用 kepubify 轉換成 kepub 格式
- (額外處理)使用 Cailbre 將電子書放入電子書閱讀器
參考資料,感謝各位大大:
因為女友想用電子書看網路連載小說,所以順便試試看 AngleSharp 處理爬蟲和用 Pandoc 將 html 壓成 epub 格式。
目標:用爬蟲抓取該網站指定小說的所有章節,再壓成 Epub,最後在閱讀器上爽看
參考資料,感謝各位大大:
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.