feat: 重大优化更新 - 修复v14.0并发布Pro版
✨ 新功能: - 创建bilibili_audio_downloader_pro.py (Pro版) - 全新架构重构 - 添加config.json配置文件支持 - 新增INSTALL.md详细安装指南 - 新增VERSION_COMPARISON.md版本对比说明 🐛 Bug修复 (v14.0): - 修复中文编码显示问题 - 修复ffmpeg进度条计算不准确 - 改进yt-dlp下载进度解析 - 添加重试机制和超时设置 - 完善错误处理和日志记录 🏗️ Pro版优势: - 面向对象架构设计,代码更清晰 - 自定义异常类和智能错误恢复 - 准确的进度条显示算法 - 完整的日志系统 - 灵活的配置管理 - 更好的用户体验 📚 文档更新: - 更新README.md,添加版本对比指引 - 更新requirements.txt依赖列表 - 完善项目文档结构
This commit is contained in:
1 parent
af14c12eee
commit
8db1d171a0
465 files changed
+200378
-9739
No files matched your search
+12
@@ -0,0 +1,12 @@
|
||||
# These are supported funding model platforms
|
||||
|
||||
github: [SocialSisterYi]
|
||||
patreon: # Replace with a single Patreon username
|
||||
open_collective: # Replace with a single Open Collective username
|
||||
ko_fi: # Replace with a single Ko-fi username
|
||||
tidelift: # Replace with a single Tidelift platform-name/package-name e.g., npm/babel
|
||||
community_bridge: # Replace with a single Community Bridge project-name e.g., cloud-foundry
|
||||
liberapay: # Replace with a single Liberapay username
|
||||
issuehunt: # Replace with a single IssueHunt username
|
||||
otechie: # Replace with a single Otechie username
|
||||
custom: https://afdian.com/@ShakaiAneE
|
||||
@@ -0,0 +1,56 @@
|
||||
name: "新增请求"
|
||||
description: "请求添加文档中未收录的 API 定义"
|
||||
title: "[新增请求] <title>"
|
||||
labels: ["新增/Add"]
|
||||
body:
|
||||
- type: checkboxes
|
||||
id: reminders
|
||||
attributes:
|
||||
label: "提交前请确认"
|
||||
options:
|
||||
- label: "我已阅读贡献指南, 已检索仓库中文档,确认不包含所提及内容,且 Issues、Pull Requests 中无相关提交"
|
||||
required: true
|
||||
- type: dropdown
|
||||
id: source
|
||||
attributes:
|
||||
label: "API 来源"
|
||||
description: "该 API 在何平台中使用"
|
||||
multiple: true
|
||||
options:
|
||||
- "Web 端(含 H5)"
|
||||
- "PC 客户端(Electron)"
|
||||
- "Android 客户端(含粉版、平板版、蓝版、概念版、国际版等)"
|
||||
- "TV 客户端(含云视听小电视、车机、物联网版等)"
|
||||
- "iOS 客户端(含粉版、平板版、概念版等)"
|
||||
- "必剪客户端"
|
||||
- "漫画客户端"
|
||||
- "其他(请在详情中备注)"
|
||||
validations:
|
||||
required: true
|
||||
- type: dropdown
|
||||
id: type
|
||||
attributes:
|
||||
label: "API 类型"
|
||||
description: "API 所使用的协议标准及调用方式"
|
||||
options:
|
||||
- "REST"
|
||||
- "gRPC"
|
||||
- "长连接数据帧(含 WS、TCP)"
|
||||
- "其他类型(请在详情中备注)"
|
||||
validations:
|
||||
required: true
|
||||
- type: input
|
||||
id: address
|
||||
attributes:
|
||||
label: "API 地址"
|
||||
description: "REST 的 URL,或 gRPC 的包名+服务名"
|
||||
placeholder: "eg: https://api.bilibili.com/2333333"
|
||||
validations:
|
||||
required: true
|
||||
- type: textarea
|
||||
id: details
|
||||
attributes:
|
||||
label: "详情描述"
|
||||
description: "请描述该 API 的使用场景、请求及响应字段等,可附上原始抓包记录"
|
||||
validations:
|
||||
required: true
|
||||
@@ -0,0 +1,29 @@
|
||||
name: "更新请求"
|
||||
description: "请求补充或更新文档中已有的 API 定义"
|
||||
title: "[更新请求] <title>"
|
||||
labels: ["更新/Update"]
|
||||
body:
|
||||
- type: checkboxes
|
||||
id: reminders
|
||||
attributes:
|
||||
label: "提交前请确认"
|
||||
options:
|
||||
- label: "我已阅读贡献指南, 已确认文档中相关内容存在错误或不足,且 Issues、Pull Requests 中无相关提交"
|
||||
required: true
|
||||
- type: input
|
||||
id: document_link
|
||||
attributes:
|
||||
label: "原文档链接"
|
||||
description: |
|
||||
需要更新的文档链接,指定到具体 API<br>
|
||||
eg: https://github.com/SocialSisterYi/bilibili-API-collect/blob/master/docs/bangumi/info.md#获取剧集明细web端ssidepid方式<br>
|
||||
https://socialsisteryi.github.io/bilibili-API-collect/docs/bangumi/info.html#获取剧集明细-web端-ssid-epid方式
|
||||
validations:
|
||||
required: true
|
||||
- type: textarea
|
||||
id: details
|
||||
attributes:
|
||||
label: "更新内容"
|
||||
description: "请指出原文档中与最新 API 行为不符之处,并附上已知的最新改动和验证信息"
|
||||
validations:
|
||||
required: true
|
||||
@@ -0,0 +1,64 @@
|
||||
name: "错误修正"
|
||||
description: "发现文档内容有误并提交修正请求"
|
||||
title: "[错误修正] <title>"
|
||||
labels: ["错误/Mistakes"]
|
||||
body:
|
||||
- type: checkboxes
|
||||
id: confirmations
|
||||
attributes:
|
||||
label: "提交前请确认"
|
||||
options:
|
||||
- label: "我已阅读贡献指南, 已确认文档中有错误存在,且 Issues、Pull Requests 中无相同修正"
|
||||
required: true
|
||||
- label: "我已验证修正内容的正确性"
|
||||
required: false
|
||||
|
||||
- type: input
|
||||
id: document_link
|
||||
attributes:
|
||||
label: "错误所在文档链接"
|
||||
description: |
|
||||
需要修正的文档链接,指定到具体 API<br>
|
||||
eg: https://github.com/SocialSisterYi/bilibili-API-collect/blob/master/docs/bangumi/info.md#获取剧集明细web端ssidepid方式<br>
|
||||
https://socialsisteryi.github.io/bilibili-API-collect/docs/bangumi/info.html#获取剧集明细-web端-ssid-epid方式
|
||||
validations:
|
||||
required: true
|
||||
|
||||
- type: dropdown
|
||||
id: error_type
|
||||
attributes:
|
||||
label: "错误类型"
|
||||
multiple: true
|
||||
options:
|
||||
- "API 地址/鉴权方式错误"
|
||||
- "参数错误"
|
||||
- "响应数据结构或响应示例错误"
|
||||
- "描述性内容错误(如拼写/流程说明)"
|
||||
- "接口已弃用或下线"
|
||||
- "其他(请在下文说明)"
|
||||
validations:
|
||||
required: true
|
||||
|
||||
- type: textarea
|
||||
id: error_description
|
||||
attributes:
|
||||
label: "错误描述"
|
||||
description: "请详细说明具体错误所在,如有多个错误请编号列出"
|
||||
validations:
|
||||
required: true
|
||||
|
||||
- type: textarea
|
||||
id: evidence
|
||||
attributes:
|
||||
label: "纠错依据"
|
||||
description: "如果有,请提供抓包记录等佐证,方便确认。如果有多个错误,请将依据对应错误描述的编号列出"
|
||||
validations:
|
||||
required: false
|
||||
|
||||
- type: textarea
|
||||
id: correction
|
||||
attributes:
|
||||
label: "修正方案"
|
||||
description: "如果可以,请提供修正后的内容,如有多个修正点请编号列出"
|
||||
validations:
|
||||
required: false
|
||||
@@ -0,0 +1,5 @@
|
||||
blank_issues_enabled: false
|
||||
contact_links:
|
||||
- name: 参与讨论
|
||||
url: https://github.com/SocialSisterYi/bilibili-API-collect/discussions
|
||||
about: 代码用例、情报分享等内容请使用 Discussions
|
||||
@@ -0,0 +1,38 @@
|
||||
name: deploy and publish
|
||||
|
||||
on: [push]
|
||||
|
||||
permissions:
|
||||
contents: read
|
||||
pages: write
|
||||
id-token: write
|
||||
|
||||
concurrency:
|
||||
group: "pages"
|
||||
cancel-in-progress: false
|
||||
|
||||
jobs:
|
||||
build-and-deploy:
|
||||
runs-on: ubuntu-latest
|
||||
# if: github.repository == 'SocialSisterYi/bilibili-API-collect'
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v4
|
||||
with:
|
||||
fetch-depth: 0
|
||||
- name: Setup Node.js environment
|
||||
uses: actions/setup-node@v4.0.3
|
||||
with:
|
||||
node-version: 22
|
||||
cache: yarn
|
||||
- name: Build with yarn
|
||||
run: yarn && yarn build
|
||||
- name: Setup Pages
|
||||
uses: actions/configure-pages@v5
|
||||
- name: Upload artifact
|
||||
uses: actions/upload-pages-artifact@v3
|
||||
with:
|
||||
path: '.vuepress/dist/'
|
||||
- name: Deploy to GitHub Pages
|
||||
id: deployment
|
||||
uses: actions/deploy-pages@v4
|
||||
Reference in new issue
Block a user