Comments (4)
给代码写文档,那是一件相当痛苦的事情,我可不想去写。而且我大抵是不会接受 Pull Request。
要继续开发加 feature(比如 dash fmp4 下载)的话,我也肯定要重构一些东西。
目前的代码,我就给个宏观结构描述吧:
TaskCellWidget 包含 AbstractDownloadTask(DownloadTask.h/cpp)对象。各种 DownloadTask 类实现具体下载以及可能的 remux 任务(目前只有直播要 remux,相关内容在 Flv.h/cpp),DownloadTask 提供一些公共接口来获取标题、下载进度等信息。
输入链接的解析在 Extractor.h/cpp,从链接中提取出视频 ID 号,然后获取里面包含的所有视频,如果有付费/大会员,还要查询用户是否有权限。解析成功后弹出 DownloadDialog 对话框让用户选择要下载的视频和下载位置。因为获取视频可用画质的 api 是单个视频的,而极端情况下如柯南会包含上千个视频,全部去请求不现实,所以在 DownloadDialog 里做了个画质选择的交互。
from b23downloader.
可以写一个下载YouTube的吗
from b23downloader.
可以写一个下载YouTube的吗
用"4k video downloader"
from b23downloader.
from b23downloader.
Related Issues (20)
- 下载集合建议新建目录名称
- Qt平台初始化失败
- 希望日后能添加选择视频编码功能 HOT 2
- 当分p名称中包含半角句点.时分p名称显示不全
- 下载文件命名顺序能和选集的顺序一致吗? HOT 1
- 速度有时候跑不满
- 无法下载8K
- 现在下载视频时经常出现 网络请求错误
- 一个小小的功能,加倍方便使用
- 有些视频下载不了,没有批量下载up主视频功能
- 下载漫画《非人哉》时最多只能显示到813章节 HOT 1
- 登录大会员也无法下载该视频的最高画质 HOT 1
- 作者我爱你 HOT 1
- 显示1080 最后下载却是360p
- 下载系列视频,前面几个能下载,后面的都下载不了~!
- tql HOT 1
- Win11能用嗎?求助 HOT 1
- 登录提示网络请求错误 HOT 10
- 扫码登陆后,显示网络请求失败,无法退出登录
- 该版本已不支持该功能,请升级新版本 HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from b23downloader.