-
Notifications
You must be signed in to change notification settings - Fork 301
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #212 from nICEnnnnnnnLee/dev
V6.33 Update
- Loading branch information
Showing
34 changed files
with
1,064 additions
and
192 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,35 +1,16 @@ | ||
* 修复: 当编码不为`utf8`时,下载弹幕乱码的问题。[#197](https://github.com/nICEnnnnnnnLee/BilibiliDown/issues/197) | ||
* 修复: 卸载脚本在删除文件时考虑路径中包含有空格的情况 | ||
* 修复: 当搜索UP主视频的结果存在课程时,跳过课程解析。`e.g. https://space.bilibili.com/345024422/search/video?keyword=保姆` | ||
* 修复: 当视频链接中包含 au+数字 时,会被识别成音频[#204](https://github.com/nICEnnnnnnnLee/BilibiliDown/issues/204) | ||
* 修复: 保存配置时,考虑多行配置同一个key的情况 | ||
* 新增: 现在可以提供Windows amd64下的安装包 | ||
* 新增: 增加配置,可以在软件启动时开始按计划周期性批量下载[#199](https://github.com/nICEnnnnnnnLee/BilibiliDown/issues/199) | ||
* 新增: 现在可以替换音视频下载地址的host,建议在走PCDN表现不佳的情况下尝试使用 | ||
+ 可能使情况变好,也可能更坏 | ||
+ 右上角菜单`配置` -> `音视频链接替换host?` -> `替换` (临时启用,程序重启后失效) | ||
+ 设置`bilibili.download.host.forceReplace = true` (持久化生效) | ||
* 新增: 现在可以强制音视频下载走http而不是https | ||
+ 下载链接如果指定了端口的话,那就只能走https协议,无论配置怎么样 | ||
* 优化: 下载队列的url存活时间超过90min(参数可调整)时,会重新查询url再进行下载[#202](https://github.com/nICEnnnnnnnLee/BilibiliDown/issues/202) | ||
+ 一次生成这么多任务,_**你有点太极端了**_ | ||
+ 在这个场景下,最好设置成:失败重试/继续下载任务时,重新查询下载链接(搜`retry`或`reloadDownloadUrl`) | ||
* 优化: 失败重试/暂停后继续下载的任务优先级更高,而不是排在任务队列的最后 | ||
* 优化: `UP主所有视频`支持更多类型的url | ||
+ 现在增加支持`https://space.bilibili.com/336399506/?spm_id_from=333.999.0.0` | ||
+ 以前的类型参数是直接跟在数字后面,而不是`/`后面 | ||
+ `https://space.bilibili.com/336399506/` | ||
+ `https://space.bilibili.com/336399506?spm_id_from=333.999.0.0` | ||
* 优化: Windows下jre11版本、modules更新 | ||
+ 版本`Oracle 11+28 2018-09-25`升级为`Temurin 21.0.3+9-LTS 2024-04-16` | ||
+ modules | ||
+ 前`java.base,java.compiler,java.datatransfer,java.desktop,java.management` | ||
+ 后`java.base,java.compiler,java.datatransfer,java.desktop,java.management,java.security.sasl,java.xml,java.logging` | ||
* [帮助文档]修复: 导航提示汉化覆盖完毕 | ||
* [帮助文档]新增: 添加搜索功能 | ||
* [帮助文档]优化: VitePress由`alpha`升级为`release`版本 | ||
* [帮助文档]优化: Github Pages由读取指定分支改为Actions附件上传 | ||
* 其它常规优化,详见[V6.31...V6.32](https://github.com/nICEnnnnnnnLee/BilibiliDown/compare/V6.31...V6.32) | ||
* 新增: release 附件中`win64_jre`压缩文件加入`exe`程序 | ||
* 新增: 添加专栏图片解析 | ||
* 新增: 添加专栏文集图片解析 | ||
* 新增: 添加图文动态解析 | ||
* 新增: 添加图文动态个人收藏解析 | ||
* 新增: 可以JVM传入参数`-Dbilibili.prop.dataDirPath={dataDirPath}`来指定数据文件夹位置(可以不是程序所在目录) | ||
* 新增: 可以JVM传入参数`-Dbilibili.prop.log=true/false`来尽可能减少打印信息 | ||
* 新增: 可以在登录时获取服务器时间并以之为基准 | ||
* 新增(ui): 配置面板中,针对文件/文件夹类型的配置,可以通过文件选择器来选择路径 | ||
* 新增(ci): 现在可以手动触发release ci,此时可以选择是否同步上传代码、附件到第三方 | ||
* 新增(ci): 现在会将`commit hash`,`workflow id`信息写入作品信息页面,`buildTime`改为`GMT+8`时区 | ||
* 已知问题: jpackage 打包的exe程序无法自重启 [JDK-8325924](https://bugs.openjdk.org/browse/JDK-8325924)/[JDK-8325203](https://bugs.openjdk.org/browse/JDK-8325203) | ||
* 具体修改详见[V6.32...V6.33](https://github.com/nICEnnnnnnnLee/BilibiliDown/compare/V6.31...V6.32) | ||
<hr/> | ||
|
||
如果你是Win64用户,且没有java环境,请下载附件`*.win_x64_jre11.release.zip`或 `*.win_x64.msi` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -56,4 +56,5 @@ jobs: | |
with: | ||
name: BilibiliDown.v${{ inputs.version_number }}.win64 | ||
path: win_msi/target/*.msi | ||
retention-days: 2 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,7 +5,7 @@ name: CloseStaleIssue | |
|
||
on: | ||
schedule: | ||
- cron: '1 15 1/2 * *' | ||
- cron: '1 15 1/8 * *' | ||
|
||
jobs: | ||
build: | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,7 +5,13 @@ name: Build Release | |
|
||
on: | ||
workflow_dispatch: | ||
inputs: {} | ||
inputs: | ||
enable_sync_third_party: | ||
description: '同步上传代码、附件到第三方?' | ||
required: false | ||
type: boolean | ||
default: true | ||
# 不是人为触发时,为空字符串 | ||
push: | ||
branches: | ||
- master | ||
|
@@ -32,6 +38,9 @@ jobs: | |
|
||
- name: Read tag_latest and Save build info | ||
id: tag_latest | ||
env: | ||
GITHUB_REPO: ${{ github.repository }} | ||
GITHUB_RUN_ID: ${{ github.run_id }} | ||
run: | | ||
python ./.github/scripts/read_version_and_save_build_info.py | ||
|
@@ -67,14 +76,12 @@ jobs: | |
files: | | ||
BilibiliDown.v${{steps.tag_latest.outputs.value}}.release.zip | ||
BilibiliDown.v${{steps.tag_latest.outputs.value}}.release.zip.sha1 | ||
BilibiliDown.v${{steps.tag_latest.outputs.value}}.win_x64_jre11.release.zip | ||
BilibiliDown.v${{steps.tag_latest.outputs.value}}.win_x64_jre11.release.zip.sha1 | ||
- name: Upload release to supabase | ||
env: | ||
VERSION_NUMBER: ${{ steps.tag_latest.outputs.value }} | ||
SUPABASE_ANON_KEY: ${{ secrets.SUPABASE_ANON_KEY }} | ||
if: ${{ env.SUPABASE_ANON_KEY != ''}} | ||
if: ${{ env.SUPABASE_ANON_KEY != '' && github.event.inputs.enable_sync_third_party != 'false'}} | ||
run: | | ||
chmod +x .github/scripts/upload_supabase.sh | ||
./.github/scripts/upload_supabase.sh | ||
|
@@ -85,7 +92,7 @@ jobs: | |
CLOUDINARY_API_SECRET: ${{ secrets.CLOUDINARY_API_SECRET }} | ||
ZIP_FILE_NAME: BilibiliDown.v${{steps.tag_latest.outputs.value}}.release.zip | ||
SHA1_FILE_NAME: BilibiliDown.v${{steps.tag_latest.outputs.value}}.release.zip.sha1 | ||
if: ${{ env.CLOUDINARY_API_KEY != '' && env.CLOUDINARY_API_SECRET != ''}} | ||
if: ${{ env.CLOUDINARY_API_KEY != '' && env.CLOUDINARY_API_SECRET != '' && github.event.inputs.enable_sync_third_party != 'false'}} | ||
run: | | ||
chmod +x .github/scripts/upload_cloudinary.sh | ||
./.github/scripts/upload_cloudinary.sh | ||
|
@@ -94,15 +101,15 @@ jobs: | |
env: | ||
VERSION_NUMBER: ${{ steps.tag_latest.outputs.value }} | ||
BITBUCKET_TOKEN: ${{ secrets.BITBUCKET_TOKEN }} | ||
if: ${{ env.BITBUCKET_TOKEN != ''}} | ||
if: ${{ env.BITBUCKET_TOKEN != '' && github.event.inputs.enable_sync_third_party != 'false'}} | ||
run: | | ||
chmod +x .github/scripts/upload_bitbucket.sh | ||
./.github/scripts/upload_bitbucket.sh | ||
- name: Sync Push to Gitee | ||
env: | ||
GITEE_AUTH: ${{ secrets.GITEE_AUTH }} | ||
if: ${{ env.GITEE_AUTH != ''}} | ||
if: ${{ env.GITEE_AUTH != '' && github.event.inputs.enable_sync_third_party != 'false'}} | ||
run: | | ||
chmod +x .github/scripts/sync_push_to_gitee.sh | ||
./.github/scripts/sync_push_to_gitee.sh | ||
|
@@ -112,7 +119,8 @@ jobs: | |
with: | ||
name: release | ||
path: BilibiliDown.v${{steps.tag_latest.outputs.value}}.win_x64_jre11.release.zip | ||
|
||
retention-days: 1 | ||
|
||
# 生成win64 安装包 | ||
build_win64_msi: | ||
needs: build | ||
|
@@ -146,11 +154,13 @@ jobs: | |
move target/BilibiliDown-1.${{needs.build.outputs.VERSION_NUMBER}}.0.msi target/BilibiliDown.v${{needs.build.outputs.VERSION_NUMBER}}.win_x64.msi | ||
move target/BilibiliDown-1.${{needs.build.outputs.VERSION_NUMBER}}.0.msi.sha1 target/BilibiliDown.v${{needs.build.outputs.VERSION_NUMBER}}.win_x64.msi.sha1 | ||
- name: Upload MSI File to release asset | ||
- name: Upload MSI,ZIP File to release asset | ||
uses: softprops/[email protected] | ||
with: | ||
tag_name: V${{needs.build.outputs.VERSION_NUMBER}} | ||
name: BilibiliDown - v${{needs.build.outputs.VERSION_NUMBER}} | ||
files: | | ||
win_msi/target/BilibiliDown.v${{needs.build.outputs.VERSION_NUMBER}}.win_x64.msi | ||
win_msi/target/BilibiliDown.v${{needs.build.outputs.VERSION_NUMBER}}.win_x64.msi.sha1 | ||
win_msi/BilibiliDown.v${{needs.build.outputs.VERSION_NUMBER}}.win_x64_jre11.release.zip | ||
win_msi/BilibiliDown.v${{needs.build.outputs.VERSION_NUMBER}}.win_x64_jre11.release.zip.sha1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.