Skip to content

Latest commit

 

History

History
40 lines (30 loc) · 674 Bytes

README.md

File metadata and controls

40 lines (30 loc) · 674 Bytes

极客时间导出PDF工具

已购买课程导出PDF工具

用法

需要输入极客时间官网账号密码

wkhtmltopdf

安装请参照官网: https://wkhtmltopdf.org

go依赖

go get github.com/sirupsen/logrus
go get github.com/SebastiaanKlippert/go-wkhtmltopdf
go get github.com/pkg/errors

参数

$ ./geekpdf -h
Usage of ./geekpdf:
  -c string
        Cellphone
  -d    Delete Bottom Pic
  -i int
        Product ID
  -p string
        Path to store pdf (default "pdf/")
  -t int
        Request Time Sleep (default 5)
  -w string
        Password

TODO

[]: 太长的代码会被截断。