geektime-downloader

command module
v0.2.3 Latest Latest
Warning

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

Go to latest
Published: Apr 9, 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@latest

# Go version < 1.16
go get -u github.com/nicoxiang/geektime-downloader@latest
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     专栏和视频课的下载目标位置 (default "")
  -h, --help              help for geektime-downloader
  -u, --phone string      你的极客时间账号(手机号)(required)
  -q, --quality string    下载视频清晰度(ld标清,sd高清,hd超清) (default "sd")

Note

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

  2. Ctrl + c 退出程序

  3. 如果选择下载所有后中断程序,可重新进入程序继续下载

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

Inspired by

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
internal

Jump to

Keyboard shortcuts

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