-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
7 changed files
with
69 additions
and
62 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,78 +1,78 @@ | ||
# EE-Book | ||
|
||
[![Join the chat at https://gitter.im/knarfeh/EE-Book](https://badges.gitter.im/knarfeh/EE-Book.svg)](https://gitter.im/knarfeh/EE-Book?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge) | ||
[中文](./README.md) | [English](./README_en.md) | ||
|
||
[中文](./README_cn.md) | [English](./README.md) | ||
[EE-Book](https://github.com/knarfeh/EE-Book) 是一个命令行程序,它可以从网络上爬取内容制作成EPub格式电子书。 | ||
|
||
*Note*: Due to personal reason, there will be no big changes in the next two months. --2016.04.19 | ||
[网页版](http://ee-book.org) | ||
|
||
[EE-Book](https://github.com/knarfeh/EE-Book) is a command-line utility to downlaod text from the Web, and make it a e-book. GUI is under developing. | ||
## 支持的网站 (正在更新中!) | ||
|
||
## Supported Sites (UPDATING!) | ||
|
||
| website | home page | supported type | | ||
| 名称 | 主页 | 支持类型 | | ||
| :------ | ---------------------------------------- | ---------------------------------------- | | ||
| 知乎 | [www.zhihu.com](http://www.zhihu.com) | **问题:** `zhihu.com/question/{question_id}`<br/>**答案:** `zhihu.com/question/{question_id}/answer/{answer_id}`<br/>**话题:** `zhihu.com/topic/{topic_id}`<br/>**用户的全部回答:** `zhihu.com/people/{people_id}` or `zhihu.com/people/{people_id}/answers`<br/>**收藏夹:** `zhihu.com/collection/{collection_id}` <br/> **专栏:** `zhuanlan.zhihu.com/{zhuanlan_id}` | | ||
| 简书 | [www.jianshu.com](http://www.jianshu.com) | **用户的所有文章:** `jianshu.com/users/{people_id}/latest_articles`<br/>**专题:** `jianshu.com/collection/{collection_id}`<br/>**文集:** `jianshu.com/notebooks/{notebooks_id}/latest` or `jianshu.com/notebooks/{notebooks_id}/top` | | ||
| csdn博客 | [blog.csdn.net](http://blog.csdn.net) | **用户的所有文章:** `blog.sina.com.cn/u/{people_id}` | | ||
| 新浪博客 | [blog.sina.com.cn](http://blog.sina.com.cn/) | **用户的所有文章:** `blog.csdn.net/{people_id}` | | ||
| 博客园 | [www.cnblogs.com/](http://www.cnblogs.com/) | **用户的所有文章:** `cnblogs.com/{people_id}/` | | ||
| 易百教程 | [www.yiibai.com](http://www.yiibai.com/) | **某个教程的文章:** `yiibai.com/{tutorial_kind}`| | ||
| Talk Python To Me | [www.talkpython.fm](https://www.talkpython.fm)| **transcripts of [「Talk Python To Me」](https://www.talkpython.fm):** `https://talkpython.fm/episodes/all`| | ||
| Talk Python To Me | [www.talkpython.fm](https://www.talkpython.fm)| **[「Talk Python To Me」](https://www.talkpython.fm)的文稿:** `https://talkpython.fm/episodes/all/`| | ||
|
||
## Usage | ||
## 用法 | ||
|
||
get help info: | ||
获得帮助信息: | ||
|
||
```bash | ||
$ python ee-book -h | ||
``` | ||
|
||
for example: | ||
举个例子: | ||
|
||
```bash | ||
$ python ee-book -u jianshu.com/users/b1dd2b2c87a8/latest_articles | ||
``` | ||
|
||
after a while, you will get the e-book: | ||
稍等片刻, 你就可以得到电子书了: | ||
|
||
![directory](http://7xi5vu.com1.z0.glb.clouddn.com/2016-03-09directory.png) | ||
|
||
![scheme](http://7xi5vu.com1.z0.glb.clouddn.com/2016-03-09Scheme.png) | ||
|
||
## Contributing | ||
|
||
...would be awesome! | ||
## 贡献代码 | ||
...当然欢迎 | ||
|
||
### requirements | ||
### 解决依赖 | ||
|
||
* [Beautiful Soup 4](http://www.crummy.com/software/BeautifulSoup/) | ||
* [lxml](http://lxml.de/) | ||
* [PyQt4](https://www.riverbankcomputing.com/software/pyqt/download) | ||
* ~ [PyQt4](https://www.riverbankcomputing.com/software/pyqt/download) ~ | ||
|
||
### 搭建 EE-Book 的开发环境 | ||
|
||
### Setting up a development environment for EE-Book | ||
|
||
```bash | ||
$ pip install -r requirements.txt | ||
``` | ||
|
||
[install pyqt4](https://riverbankcomputing.com/software/pyqt/download/) | ||
[安装 pyqt4](https://riverbankcomputing.com/software/pyqt/download/) | ||
|
||
|
||
### [TODO List](./doc/TODOlist.md) | ||
### [TODO List](./notes/TODOlist.md) | ||
|
||
## Relevant Infomation | ||
## 相关信息 | ||
|
||
* previous [README](https://github.com/knarfeh/EE-Book/blob/c4d870ff8cca6bbac97f04c9da727397cee8d519/README.md) | ||
* 之前版本的 [README](https://github.com/knarfeh/EE-Book/blob/c4d870ff8cca6bbac97f04c9da727397cee8d519/README.md) | ||
|
||
* An [article](http://knarfeh.github.io/2016/03/17/EE-Book/) posted on [v2ex](https://v2ex.com/) | ||
* 发在[v2ex](https://v2ex.com/)的一篇[文章](http://knarfeh.github.io/2016/03/17/EE-Book/) | ||
|
||
## Thanks | ||
## 感谢 | ||
|
||
* [知乎助手](https://github.com/YaoZeyuan/ZhihuHelp) | ||
* [calibre](https://github.com/kovidgoyal/calibre) | ||
* [you-get](https://github.com/soimort/you-get) | ||
|
||
## License | ||
|
||
EE-Book is licensed under the terms of [MIT license](./LICENSE). | ||
[MIT license](./LICENSE). | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,78 +1,78 @@ | ||
# EE-Book | ||
|
||
[中文](./README_cn.md) | [English](./README.md) | ||
[![Join the chat at https://gitter.im/knarfeh/EE-Book](https://badges.gitter.im/knarfeh/EE-Book.svg)](https://gitter.im/knarfeh/EE-Book?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge) | ||
|
||
*注意*: 由于个人原因,这一两个月只做一些小的修补 --2016.04.19 | ||
[中文](./README.md) | [English](./README_en.md) | ||
|
||
[EE-Book](https://github.com/knarfeh/EE-Book) is a command-line utility to downlaod text from the Web, and make it a e-book. | ||
|
||
[EE-Book](https://github.com/knarfeh/EE-Book) 是一个命令行程序,它可以从网络上爬取内容制作成EPub格式电子书。图形界面正在开发中。 | ||
[Web version](http://ee-book.org) | ||
|
||
## 支持的网站 (正在更新中!) | ||
## Supported Sites (UPDATING!) | ||
|
||
| 名称 | 主页 | 支持类型 | | ||
| website | home page | supported type | | ||
| :------ | ---------------------------------------- | ---------------------------------------- | | ||
| 知乎 | [www.zhihu.com](http://www.zhihu.com) | **问题:** `zhihu.com/question/{question_id}`<br/>**答案:** `zhihu.com/question/{question_id}/answer/{answer_id}`<br/>**话题:** `zhihu.com/topic/{topic_id}`<br/>**用户的全部回答:** `zhihu.com/people/{people_id}` or `zhihu.com/people/{people_id}/answers`<br/>**收藏夹:** `zhihu.com/collection/{collection_id}` <br/> **专栏:** `zhuanlan.zhihu.com/{zhuanlan_id}` | | ||
| 简书 | [www.jianshu.com](http://www.jianshu.com) | **用户的所有文章:** `jianshu.com/users/{people_id}/latest_articles`<br/>**专题:** `jianshu.com/collection/{collection_id}`<br/>**文集:** `jianshu.com/notebooks/{notebooks_id}/latest` or `jianshu.com/notebooks/{notebooks_id}/top` | | ||
| csdn博客 | [blog.csdn.net](http://blog.csdn.net) | **用户的所有文章:** `blog.sina.com.cn/u/{people_id}` | | ||
| 新浪博客 | [blog.sina.com.cn](http://blog.sina.com.cn/) | **用户的所有文章:** `blog.csdn.net/{people_id}` | | ||
| 博客园 | [www.cnblogs.com/](http://www.cnblogs.com/) | **用户的所有文章:** `cnblogs.com/{people_id}/` | | ||
| 易百教程 | [www.yiibai.com](http://www.yiibai.com/) | **某个教程的文章:** `yiibai.com/{tutorial_kind}`| | ||
| Talk Python To Me | [www.talkpython.fm](https://www.talkpython.fm)| **[「Talk Python To Me」](https://www.talkpython.fm)的文稿:** `https://talkpython.fm/episodes/all`| | ||
| Talk Python To Me | [www.talkpython.fm](https://www.talkpython.fm)| **transcripts of [「Talk Python To Me」](https://www.talkpython.fm):** `https://talkpython.fm/episodes/all/`| | ||
|
||
## 用法 | ||
## Usage | ||
|
||
获得帮助信息: | ||
get help info: | ||
|
||
```bash | ||
$ python ee-book -h | ||
``` | ||
|
||
举个例子: | ||
for example: | ||
|
||
```bash | ||
$ python ee-book -u jianshu.com/users/b1dd2b2c87a8/latest_articles | ||
``` | ||
|
||
稍等片刻, 你就可以得到电子书了: | ||
after a while, you will get the e-book: | ||
|
||
![directory](http://7xi5vu.com1.z0.glb.clouddn.com/2016-03-09directory.png) | ||
|
||
![scheme](http://7xi5vu.com1.z0.glb.clouddn.com/2016-03-09Scheme.png) | ||
|
||
## Contributing | ||
|
||
## 贡献代码 | ||
...当然欢迎! | ||
...will be welcomed. | ||
|
||
### 解决依赖 | ||
### requirements | ||
|
||
* [Beautiful Soup 4](http://www.crummy.com/software/BeautifulSoup/) | ||
* [lxml](http://lxml.de/) | ||
* [PyQt4](https://www.riverbankcomputing.com/software/pyqt/download) | ||
|
||
### 建立 EE-Book 的开发环境 | ||
* ~ [PyQt4](https://www.riverbankcomputing.com/software/pyqt/download) ~ | ||
|
||
### Setting up a development environment for EE-Book | ||
|
||
```bash | ||
$ pip install -r requirements.txt | ||
``` | ||
|
||
[安装 pyqt4](https://riverbankcomputing.com/software/pyqt/download/) | ||
[install pyqt4](https://riverbankcomputing.com/software/pyqt/download/) | ||
|
||
|
||
### [TODO List](./doc/TODOlist.md) | ||
### [TODO List](./notes/TODOlist.md) | ||
|
||
## 相关信息 | ||
## Relevant Infomation | ||
|
||
* 之前版本的 [README](https://github.com/knarfeh/EE-Book/blob/c4d870ff8cca6bbac97f04c9da727397cee8d519/README.md) | ||
* previous [README](https://github.com/knarfeh/EE-Book/blob/c4d870ff8cca6bbac97f04c9da727397cee8d519/README.md) | ||
|
||
* 发在[v2ex](https://v2ex.com/)的一篇[文章](http://knarfeh.github.io/2016/03/17/EE-Book/) | ||
* An [article](http://knarfeh.github.io/2016/03/17/EE-Book/) posted on [v2ex](https://v2ex.com/) | ||
|
||
## 感谢 | ||
## Thanks | ||
|
||
* [知乎助手](https://github.com/YaoZeyuan/ZhihuHelp) | ||
* [calibre](https://github.com/kovidgoyal/calibre) | ||
* [you-get](https://github.com/soimort/you-get) | ||
|
||
## 软件版权许可证 | ||
|
||
EE-Book 遵循 [MIT license](./LICENSE). | ||
## License | ||
|
||
[MIT license](./LICENSE). |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -25,6 +25,7 @@ | |
* 豆瓣日记 | ||
* medium | ||
* stackoverflow | ||
* gank.io | ||
|
||
|
||
log: | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters