Code Monkey home page Code Monkey logo

geek-time-topdf's Introduction

geek-time-topdf

原仓库地址

print your geek time course to pdf. If you have already bought it

need phone, password, course name.

Do not record any information...

npm install geek-time-topdf -g  # in china use cnpm | 推荐使用 cnpm,加快安装速度

gkpdf init # 账号初始化
gkpdf clear # 清除账号信息

将你已经购买的极客时间的课程,打印为 pdf。

需要手机号码和密码。课程名称

不记录任何信息

操作说明:

instructions

Run in docker container via VSCode

Open this folder in container in VSCode.

Or add --cap-add=SYS_ADMIN when run and build the docker image alone.

通过 VSCode 在 docker 容器中运行

在 VSCode 容器中打开此文件夹。

或者在单独运行并构建 docker 映像时添加 --cap-add=SYS_ADMIN

changeLogs:

  • 4.1.0: feat: 增加国家代码,调整样式过滤
  • 4.0.5: feat: 添加 clear 命令。用于切换账号
  • 4.0.4: fix: 修复 windows 下文件名存在非法字符导致的下载出错
  • 4.0.3: fix: 修复课程打印不出来的问题
  • 4.0.2: fix: 课程名称处理正则未全局匹配
  • 4.0.1: fix: 课程展示不全
  • 4.0.0: 调整为接口获取课程方式。(必须更新,旧的包已不可使用
  • 3.2.0: 调整了课程搜索的滚动方式,增加成功率
  • 3.0.0: 处理极客时间登陆改版,导致登陆不了的问题,并且加了一个重复打印的选项
  • 2.0.2: 修改页面滚动的等待时间,提高成功率
  • 2.0.1: 修复 windows 系统下 特殊中文字符 pdf 生成报错的问题
  • 2.0.0: 更新代码来支持极客时间的最新版页面(必须更新,旧的包已不可使用
  • 1.1.4: 修复自定义目录时,未正确创建目录的 bug
  • 1.1.2: 版本添加 png 输出选项

TODO:

  • 一键下载所有课程
  • 出错自动重试
  • puppeteer page 并行

geek-time-topdf's People

Contributors

guowenfh avatar jakedeng avatar pichurchill avatar tojo17 avatar zc0125 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.