Code Monkey home page Code Monkey logo

geektime-cli's Introduction

geektime-cli

geektime-cli screenshot

CLI for https://time.geekbang.org (极客时间)

INSTALL

npm install geektime-cli -g
# or
yarn global add geektime-cli

USAGE

  Usage: geektime [options] [command]

  Options:

    -V, --version             output the version number
    -h, --help                output usage information

  Commands:

    login|l [options] <phone> <password>     登录极客时间
    config|c [options]                       调整参数设置
    info|i                                   显示设置信息
    products                                 获取已购列表
    articles <cid>                           获取文章列表
    article <id>                             获取文章内容
    export|e [options] <cid> [otherCids...]  导出专栏 文章/音频/视频

geektime login

  Usage: login|l [options] <phone> <password>

  登录极客时间

  Options:

    -c, --code <code>  指定国家区号
    -h, --help         output usage information

geektime export

  Usage: export|e [options] <cid>

  导出专栏 文章/音频/视频

  Options:

    -o, --output [dir]  导出目录
    -m, --mp3           导出音频
    -v, --video         导出视频
    -h, --help          output usage information

批量导出 geektime export 48 49

geektime export -m, --mp3

导出专栏音频

geektime export -v, --video

导出专栏视频

geektime config

  Usage: geektime config [options]

  调整参数设置

  Options:

    -d, --dir <dir>    设置文章导出目录
    -m, --mp3 <dir>    设置音频导出目录
    -v, --video <dir>  设置视频导出目录
    -h, --help         output usage information

License

MIT

geektime-cli's People

Contributors

shawjia avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.