Skip to content

Commit

Permalink
Merge pull request #33 from ScottSloan/dev
Browse files Browse the repository at this point in the history
更新 Version 1.52.0
  • Loading branch information
ScottSloan authored Oct 26, 2024
2 parents cbd6eb8 + 71da524 commit 73ba174
Show file tree
Hide file tree
Showing 25 changed files with 2,116 additions and 289 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ config.ini
download

# 配置文件
video.json
bangumi.json
download.json
icon.ico
Expand Down
47 changes: 20 additions & 27 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,12 +22,15 @@ Bili23 Downloader GUI
[![pAlhXgU.png](https://s21.ax1x.com/2024/09/27/pAlhXgU.png)](https://imgse.com/i/pAlhXgU)

#### **支持输入的 URL 链接**
| 类型 | 示例 |
| ---- | ---- |
| 用户投稿视频 | https://www.bilibili.com/video/BV1t94y1C7fp |
| 剧集(番剧、电影、纪录片等) | https://www.bilibili.com/bangumi/play/ss45574 |
| b23.tv 短链接 | https://b23.tv/BV1UG411f7K1 |
| 活动页链接 | https://www.bilibili.com/blackboard/topic/activity-jjR1nNRUF.html |
| 类型 | 支持的功能 | 示例 |
| ---- | ---- | ---- |
| 用户投稿视频 (含分P,合集视频) | 解析下载 | https://www.bilibili.com/video/BV1t94y1C7fp |
| 剧集(含番剧、电影、纪录片、国创、电视剧、综艺) | 解析下载 | https://www.bilibili.com/bangumi/play/ss45574 |
| 直播 | m3u8直链解析、录制 | https://live.bilibili.com/1 |
| b23.tv 短链接 | - | https://b23.tv/BV1UG411f7K1 |
| 活动页链接 | - | https://www.bilibili.com/blackboard/topic/activity-jjR1nNRUF.html |

**注意:本程序不提供付费视频解析服务,请自行登录大会员账号后再进行使用。**

#### **部分类型可直接输入编号**
- 视频 av、BV 号
Expand All @@ -36,30 +39,20 @@ Bili23 Downloader GUI
### **下载**
[![pAl4IxO.png](https://s21.ax1x.com/2024/09/27/pAl4IxO.png)](https://imgse.com/i/pAl4IxO)

### **登录**
由于B站限制,未登录状态下只能获取到 `480P` 视频,因此建议您扫码登录后使用。

> 登录有效期为半年,过期后需重新登录。
# 更新日志
### **Version 1.51.0 (2024/10/17)**
Version 1.51.0 正式版发布
### **Version 1.52.0 (2024/10/26)**
Version 1.52.0 正式版发布

本次更新内容:
* 视频转换工具支持 macOS 使用硬件加速
* 重构部分代码,优化执行逻辑
* 配置文件不存在时将自动创建
* 优化下载体验,当下载停滞时智能重启线程
* 优化设置页面显示效果
* 优化批量下载视频时的体验
* 优化异常处理机制
* 优化代理功能,默认状态下跟随系统全局代理,无需再次设置
* 修复部分活动页链接无法解析的问题
* 修复部分电影无法下载杜比全景声的问题
* 修复部分页面在深色模式下显示异常的问题
* 修复部分情况下无法下载视频的问题
* 修复解析视频时默认下载清晰度勾选不正确的问题
* 修复解析视频所在合集对用户投稿类视频不生效的问题
* 支持解析直播链接,可进行录制,也可调用播放器直接播放
* 支持账号密码登录和短信登录
* 新增“显示完整剧集名称”功能,例如开启时,显示为《孤独摇滚》第1话 孤独的转机;关闭后,将只显示:孤独的转机
* 优化视频转换功能
* 优化默认缩放下的显示效果
* 修复部分视频提示不存在的问题
* 修复部分视频名称空白的问题
* 修复部分分P视频无法解析的问题
* 修复部分视频因缺少 Content-Length 请求头而导致无法下载的问题

# 联系方式
- QQ: 2592111619
Expand Down
3 changes: 2 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[project]
name = "bili23-downloader"
version = "1.5.1"
version = "1.52.0"
description = "跨平台的 B 站视频下载工具,支持 Windows、Linux、macOS 三平台,下载 B 站视频/番剧/电影/纪录片 等资源 "
readme = "README.md"
license = "MIT License"
Expand All @@ -9,6 +9,7 @@ dependencies = [
"qrcode[pil]>=7.3.1",
"requests>=2.30.0",
"wxpython>=4.2.0",
"pycryptodome>=3.21.0",
]
authors = [
{name = "ScottSloan", email = "[email protected]"},
Expand Down
3 changes: 2 additions & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
requests>=2.30.0
wxPython>=4.2.0
qrcode[pil]>=7.3.1
qrcode[pil]>=7.3.1
pycryptodome>=3.21.0
11 changes: 9 additions & 2 deletions src/GUI.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,16 @@
from utils.config import Config
from gui.main import MainWindow

class APP(wx.App):
def __init__(self):
wx.App.__init__(self)

# 设置语言环境为中文
self.locale = wx.Locale(wx.LANGUAGE_CHINESE_SIMPLIFIED)
self.SetAppName(Config.APP.name)

if __name__ == "__main__":
app = wx.App()
app.SetAppName(Config.APP.name)
app = APP()

main_window = MainWindow(None)
main_window.Show()
Expand Down
Loading

0 comments on commit 73ba174

Please sign in to comment.