Skip to content

v1.6

Latest

Choose a tag to compare

@helloworldpxy helloworldpxy released this 24 Jun 13:52
fcb5e9b

迅雷链接转换器 v1.6 更新说明:

  1. 使用 bool() 函数直接返回验证结果。
  2. 将错误信息显示和警告信息显示封装成单独的函数,以减少代码重复。
  3. 使用列表 result_text 来存储结果,最后统一使用 "\n".join(result_text) 来生成最终结果显示字符串,减少每次字符串拼接的开销。
  4. 移除了不必要的 continue 语句,保持代码简洁。
  5. 在 open_links 函数中移除了不必要的异常处理,因为 QDesktopServices.openUrl 不会抛出需要捕获的异常。
    thunder-https_v1 6_AMD64_CH
    thunder-https_v1 6_ARM64_CH

Thunder-https v1.6 Update Notes:

  1. Use the bool() function to directly return validation results.
  2. Encapsulate error message display and warning message display into separate functions to reduce code duplication.
  3. Use the list result_text to store results, and finally use "\n".join(result_text) to generate the final result display string, reducing the overhead of each string concatenation.
  4. Removed unnecessary continue statements to keep the code concise.
  5. Removed unnecessary exception handling in the open_links function because QDesktopServices.openUrl will not throw exceptions that need to be caught.
    thunder-https_v1 6_AMD64_EN
    thunder-https_v1 6_ARM64_EN