nicoxiang / geektime-downloader Goto Github PK
View Code? Open in Web Editor NEW极客时间课程下载器,支持下载极客时间专栏/视频课/每日一课/大厂实践/训练营视频
License: MIT License
极客时间课程下载器,支持下载极客时间专栏/视频课/每日一课/大厂实践/训练营视频
License: MIT License
mac 找不到命令
n error occurred: Get "https://media001.geekbang.org/2b67e6717d5d49b49a4fd1b220588a1b/d000806f075d49a34f930f43e3a10598-ld-encrypt-stream-00028.ts": dial tcp 112.19.5.225:443: connectex: A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond.
发生 n 个错误: 获取“ https://media001.geekbang.org/2b67e6717d5d49b49a4fd1b220588a1b/d000806f075d49a34f930f43e3a10598-ld-encrypt-stream-00028.ts”: 拨打 tcp 112.19.5。225:443: connectex: 连接尝试失败,因为连接的一方在一段时间后没有正确响应,或者建立的连接失败,因为连接的主机没有响应。
视频下载出现这种错误,每次下载都会出现连接错误,如果重新下载,问题依旧,能不能调节一下设置,防止连接失败。
基本上专栏都可以下载,但是视频好像都是标清的,下载下来的视频有些会出现音画不同步现象。项目整体还是很好用的,感谢大佬开源
目前下载下来的都是单 pdf, 多个文件不太方便, 单文件 方便拷贝和导入 talebook 之类的.
自动合并过程中, 能把原文件名(或者直接把原本的目录)作为 pdf 章节插入pdf 吗?.(这个是主要想法)
想请问一下, 有没有这样的工具或者支持计划或者思路
geektime-downloader_0.2.1_windows_amd64
刚下载的
命令 : geektime-downloader.exe -u xxxx
An error occurred: websocket url timeout reached
专栏ID:100002201
错误日志:
time="2023-02-02T13:55:28+08:00" level=error msg="Request Timeout" func=github.com/nicoxiang/geektime-downloader/internal/pkg/logger.Error file="C:/Users/Administrator/go/pkg/mod/github.com/nicoxiang/[email protected]/internal/pkg/logger/logger.go:58" error="context deadline exceeded"
视频课下载的ts文件是否可以转为MP4,尝试用ffmpeg转换出现异常,是因为加密的原因吗?
老铁 下载专栏时 有的PDF是空白的 怎么回事
部分音频下载时会报错。
正在下载专栏 《Java核心技术面试精讲》 中的所有文章
已完成下载41/44An error occurred: Get "": unsupported protocol scheme ""
扫描出来的课程,并没有我要下载的。 此时我是已经购买了这个栏目
当我下载完一门课时,并没给出下载完成的提示,而我也无法确定是否下载成功还是失败,也担心是否有漏下的才没有成功的提示
正在下载专栏 《许式伟的架构课》 中的所有文章
x 请输入课程 ID: █
比如输入多个课程id,例如 大厂案例输入10个连续的id。一个一个下载太麻烦了。
from #35
pdf目前下载的评论看不到折叠的评论 能够支持将一个评论里的多条回复全部展开吗
目前只实现了主评论如果过长会默认展开,但是下面的跟评在页面(Ipad设备下)上点击后会新打开页面,这个暂时不能很简单的通过 js 模拟动作完成加载,需要考虑别的办法。
普通视频课接口已发生变更,加密方式已发生变化,目前旧的接口还能使用,暂未影响到视频的下载。如后续极客时间废弃老接口,启动新项目修改实现。
要是能转换成Markdown格式就更加完美
请问大佬们,这个应该怎么办? 我实在是搞不懂为啥,go的配置不对?
我的操作
报错:
zsh: command not found: geektime-downloader.exe
总是下载超时,不知道是不是反爬虫机制。
超时后,都需要这样做吗?
.\geektime-downloader.exe -u ""
x 请输入课程 ID: █
如果我操作方式正确的话,这方面能不能优化一下逻辑,直接
.\geektime-downloader.exe -u "" -id "课程id"
这样方便一些?
We will see if this feature is essential
[正在下载 05 | 微服务通信的济世良方:什么是Service Mesh?它能帮你做什么?] 8.31 MB / 85.96 MB [>__] 9.67%panic: context deadline exceeded (Client.Timeout or context cancellation while reading body)
goroutine 118 [running]:
github.com/nicoxiang/geektime-downloader/internal/video.writeToTempVideoFile(0x18327c0, 0xc00007ea00, 0xc0000b01e0, 0xc00015e0e0, 0xc0000a20b0, 0xc000434380, 0x3f, 0xc00042e5a0, 0x99)
/Users/xxx/go/src/github.com/nicoxiang/geektime-downloader/internal/video/video.go:98 +0x4dc
github.com/nicoxiang/geektime-downloader/internal/video.DownloadVideo.func2(0x18327c0, 0xc00007ea00, 0xc0000b01e0, 0xc00015e0e0, 0xc0000a20b0, 0xc000434380, 0x3f, 0xc00042e5a0, 0x99)
/Users/xxx/go/src/github.com/nicoxiang/geektime-downloader/internal/video/video.go:67 +0x8b
created by github.com/nicoxiang/geektime-downloader/internal/video.DownloadVideo
/Users/xxx/go/src/github.com/nicoxiang/geektime-downloader/internal/video/video.go:66 +0x47e
方便定位超时原因
为了方便就不发邮件了,想咨询一下现在是否还能下载视频呀。
我看隔壁geektime-dl的readme标注了说用了阿里云私有加密,没办法解密视频了?
希望增加可下载资源列表功能和一键下载,类似geektime-dl
感谢大佬创作的工具
读取表格中的课程ID,然后下载所有。
1.目前只支持下载专栏的视频 训练营的方法应该差不多 希望增加
2。pdf目前下载的评论看不到折叠的评论 能够支持将一个评论里的多条回复全部展开吗
3. 支持html形式下载专栏 目前PDF形式如果是代码块的话 经常因为代码过长不能滑动导致显示不全
谢谢大佬
See https://github.com/spf13/cobra/blob/master/user_guide.md#flag-groups
But this feature has not yet been released. It will be part of Cobra v1.5.0 which should be around June 2022.
from #35
我的个人账号没有训练营,所以不太清楚训练营课程的接口是什么样的,欢迎有训练营账号的同学的 PR,只要底层内容形式都是普通课程那样的文章或者视频,下载的方法都是可以复用的。
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.