geektime-downloader

command module
v0.1.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 19, 2022 License: MIT Imports: 1 Imported by: 0

README

geektime-downloader

geektime-downloader 目前支持下载专栏为PDF文档。

go report card MIT license

Usage

Prerequisites

Chrome installed

Install form source
# Go 1.16+
go install github.com/nicoxiang/geektime-downloader

# Go version < 1.16
go get -u github.com/nicoxiang/geektime-downloader
Download binary files

See release page

Sample
## windows 为例
> geektime-downloader.exe -u "phone number"
Help
## windows 为例
> geektime-downloader.exe -h

Geektime-downloader is used to download geek time lessons

Usage:
  geektime-downloader [flags]

Flags:
  -c, --concurrency int   下载文章的并发数 (default 4)
  -f, --folder string     PDF 文件下载目标位置 (default "")
  -h, --help              help for geektime-downloader
  -u, --phone string      你的极客时间账号(手机号)(required)

Note

  1. PDF 文件下载目标位置可以通过 help 查看

  2. 为了避免多次登录账户,在目录 UserConfigDir/geektime-downloader 下会存放用户的登录信息,如果不是在自己的电脑上执行,请在使用完毕程序后手动删除。

Inspired by

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
cmd
internal

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL