File tree 3 files changed +6
-6
lines changed
3 files changed +6
-6
lines changed Original file line number Diff line number Diff line change 1
1
FROM python:3.7-alpine
2
2
3
3
RUN apk add --no-cache --virtual=.build-dependencies git gcc musl-dev && \
4
- pip install -U --no-cache-dir git+https://github.com/jachinlin/ geektime_dl.git && \
4
+ pip install -U --no-cache-dir geektime_dl && \
5
5
wget http://kindlegen.s3.amazonaws.com/kindlegen_linux_2.6_i386_v2_9.tar.gz -O - | tar -xzf - -C /usr/bin && \
6
6
apk del .build-dependencies
7
7
Original file line number Diff line number Diff line change @@ -62,7 +62,7 @@ cd ~ && virtualenv -p python3 venv3 && source venv3/bin/activate
62
62
#### 代码
63
63
64
64
```
65
- pip install -U git+https://github.com/jachinlin/ geektime_dl.git
65
+ pip install -U geektime_dl
66
66
```
67
67
68
68
#### 安装kindlegen
@@ -157,7 +157,7 @@ geektime ebook <course_id> [--out-dir=<out_dir>] [--enable-comments] [--comment-
157
157
```
158
158
159
159
- course_id: 课程ID,可以从 query subcmd 查看
160
- - --out_dir: 电子书存放目录,默认当前目录
160
+ - --out_dir: 电子书存放目录,默认 ` ./ebook/ `
161
161
- --enable-comments: 启动评论下载,默认不下载评论
162
162
- --comment-count: 在启动评论下载时,设置评论条数,默认10条
163
163
@@ -170,7 +170,7 @@ geektime mp3 <course_id> [--url-only] [--out-dir=<out_dir>]
170
170
```
171
171
- course_id: 课程ID,可以从 query subcmd 查看
172
172
- --url-only: 只保存音频url,不下载音频
173
- - --out_dir: 音频存放目录,默认当前目录
173
+ - --out_dir: 音频存放目录,默认 ` ./mp3/ `
174
174
175
175
176
176
notice: 此 subcmd 需要先执行 login subcmd
@@ -184,7 +184,7 @@ geektime mp4 <course_id> [--url-only] [--hd-only] [--out-dir=xxx]
184
184
- course_id: 课程ID,可以从 query subcmd 查看
185
185
- --url-only: 只保存视频url
186
186
- --hd-only:下载高清视频,默认下载标清视频
187
- - --out_dir: 视频存放目录,默认当前目录
187
+ - --out_dir: 视频存放目录,默认 ` ./mp4/ `
188
188
189
189
notice: 此 subcmd 需要先执行 login subcmd
190
190
Original file line number Diff line number Diff line change 10
10
version = version ,
11
11
author = 'jachinlin' ,
12
12
13
- url = 'https://github.com/jachinlin/geektime_ebook_maker ' ,
13
+ url = 'https://github.com/jachinlin/geektime_dl ' ,
14
14
description = '把极客时间装进Kindle' ,
15
15
license = 'MIT' ,
16
16
keywords = 'kindle ebook mobi geektime' ,
You can’t perform that action at this time.
0 commit comments