Skip to content

Commit d13f879

Browse files
committed
build and upload to pypi
1 parent 59373dd commit d13f879

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

Dockerfile

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
FROM python:3.7-alpine
22

33
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 && \
55
wget http://kindlegen.s3.amazonaws.com/kindlegen_linux_2.6_i386_v2_9.tar.gz -O - | tar -xzf - -C /usr/bin && \
66
apk del .build-dependencies
77

README.md

+4-4
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ cd ~ && virtualenv -p python3 venv3 && source venv3/bin/activate
6262
#### 代码
6363

6464
```
65-
pip install -U git+https://github.com/jachinlin/geektime_dl.git
65+
pip install -U geektime_dl
6666
```
6767

6868
#### 安装kindlegen
@@ -157,7 +157,7 @@ geektime ebook <course_id> [--out-dir=<out_dir>] [--enable-comments] [--comment-
157157
```
158158

159159
- course_id: 课程ID,可以从 query subcmd 查看
160-
- --out_dir: 电子书存放目录,默认当前目录
160+
- --out_dir: 电子书存放目录,默认`./ebook/`
161161
- --enable-comments: 启动评论下载,默认不下载评论
162162
- --comment-count: 在启动评论下载时,设置评论条数,默认10条
163163

@@ -170,7 +170,7 @@ geektime mp3 <course_id> [--url-only] [--out-dir=<out_dir>]
170170
```
171171
- course_id: 课程ID,可以从 query subcmd 查看
172172
- --url-only: 只保存音频url,不下载音频
173-
- --out_dir: 音频存放目录,默认当前目录
173+
- --out_dir: 音频存放目录,默认`./mp3/`
174174

175175

176176
notice: 此 subcmd 需要先执行 login subcmd
@@ -184,7 +184,7 @@ geektime mp4 <course_id> [--url-only] [--hd-only] [--out-dir=xxx]
184184
- course_id: 课程ID,可以从 query subcmd 查看
185185
- --url-only: 只保存视频url
186186
- --hd-only:下载高清视频,默认下载标清视频
187-
- --out_dir: 视频存放目录,默认当前目录
187+
- --out_dir: 视频存放目录,默认`./mp4/`
188188

189189
notice: 此 subcmd 需要先执行 login subcmd
190190

setup.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
version=version,
1111
author='jachinlin',
1212
author_email='[email protected]',
13-
url='https://github.com/jachinlin/geektime_ebook_maker',
13+
url='https://github.com/jachinlin/geektime_dl',
1414
description='把极客时间装进Kindle',
1515
license='MIT',
1616
keywords='kindle ebook mobi geektime',

0 commit comments

Comments
 (0)