Lokasi ngalangkungan proxy:   [ UP ]  
[Ngawartoskeun bug]   [Panyetelan cookie]                
Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: izerui/pdf-processor
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: dev
Choose a base ref
...
head repository: izerui/pdf-processor
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: master
Choose a head ref
Checking mergeability… Don’t worry, you can still create the pull request.
  • 11 commits
  • 9 files changed
  • 1 contributor

Commits on Sep 5, 2025

  1. fix(support): 添加文件大小限制校验

    - 在 utils.py 中的 async_fetch_url 和 fetch_url函数中添加了对文件大小的检查
    - 使用 HEAD 请求获取 Content-Length 头,判断文件大小是否超过 2GB 限制
    - 如果文件大小超过限制,抛出 ValueError 异常
    izerui committed Sep 5, 2025
    Configuration menu
    Copy the full SHA
    4f3fc4c View commit details
    Browse the repository at this point in the history
  2. fix(support): 添加文件大小限制校验

    - 在 utils.py 中的 async_fetch_url 和 fetch_url函数中添加了对文件大小的检查
    - 使用 HEAD 请求获取 Content-Length 头,判断文件大小是否超过 2GB 限制
    - 如果文件大小超过限制,抛出 ValueError 异常
    izerui committed Sep 5, 2025
    Configuration menu
    Copy the full SHA
    30defac View commit details
    Browse the repository at this point in the history
  3. fix(support): 添加文件大小限制校验

    - 在 utils.py 中的 async_fetch_url 和 fetch_url函数中添加了对文件大小的检查
    - 使用 HEAD 请求获取 Content-Length 头,判断文件大小是否超过 2GB 限制
    - 如果文件大小超过限制,抛出 ValueError 异常
    izerui committed Sep 5, 2025
    Configuration menu
    Copy the full SHA
    d04b3d2 View commit details
    Browse the repository at this point in the history
  4. fix(support): 添加文件大小限制校验

    - 在 utils.py 中的 async_fetch_url 和 fetch_url函数中添加了对文件大小的检查
    - 使用 HEAD 请求获取 Content-Length 头,判断文件大小是否超过 2GB 限制
    - 如果文件大小超过限制,抛出 ValueError 异常
    izerui committed Sep 5, 2025
    Configuration menu
    Copy the full SHA
    c671ef4 View commit details
    Browse the repository at this point in the history
  5. fix(support): 添加文件大小限制校验

    - 在 utils.py 中的 async_fetch_url 和 fetch_url函数中添加了对文件大小的检查
    - 使用 HEAD 请求获取 Content-Length 头,判断文件大小是否超过 2GB 限制
    - 如果文件大小超过限制,抛出 ValueError 异常
    izerui committed Sep 5, 2025
    Configuration menu
    Copy the full SHA
    5a3d4cc View commit details
    Browse the repository at this point in the history

Commits on Sep 13, 2025

  1. fix(support): 添加文件大小限制校验

    - 在 utils.py 中的 async_fetch_url 和 fetch_url函数中添加了对文件大小的检查
    - 使用 HEAD 请求获取 Content-Length 头,判断文件大小是否超过 2GB 限制
    - 如果文件大小超过限制,抛出 ValueError 异常
    izerui committed Sep 13, 2025
    Configuration menu
    Copy the full SHA
    dfce954 View commit details
    Browse the repository at this point in the history

Commits on Sep 15, 2025

  1. feat(pdf): 设置 PDF 文件的权限

    - 在将 DOC 文件压缩转换为字节数组时,添加了权限设置
    - 设置 permissions 参数为 4,限制 PDF 文件的某些操作
    izerui committed Sep 15, 2025
    Configuration menu
    Copy the full SHA
    a1c5c6a View commit details
    Browse the repository at this point in the history
  2. feat(pdf): 设置 PDF 文件的权限

    - 在将 DOC 文件压缩转换为字节数组时,添加了权限设置
    - 设置 permissions 参数为 4,限制 PDF 文件的某些操作
    izerui committed Sep 15, 2025
    Configuration menu
    Copy the full SHA
    5614fce View commit details
    Browse the repository at this point in the history

Commits on Sep 22, 2025

  1. feat(processor): 增加重试机制并优化下载错误处理

    - 引入 tenacity 库实现网络请求重试机制,提升稳定性- 改进 download_urls_from_items 方法,支持传递错误回调函数
    - 在下载过程中捕获异常并回调通知,增强错误处理能力
    - 设置 PDF 输出权限,允许访问性和打印权限- 更新依赖列表,添加 scalar_fastapi 和 tenacity
    
    fix(utils): 优化文件下载重试逻辑
    
    - 使用 @Retry 装饰器替代手动循环重试,提高代码可读性- 增加对响应状态的判断,抛出更明确的异常信息- 限制下载文件大小为1GB,避免内存溢出风险
    izerui committed Sep 22, 2025
    Configuration menu
    Copy the full SHA
    2370c43 View commit details
    Browse the repository at this point in the history

Commits on Sep 24, 2025

  1. feat(processor): 增加重试机制并优化下载错误处理

    - 引入 tenacity 库实现网络请求重试机制,提升稳定性- 改进 download_urls_from_items 方法,支持传递错误回调函数
    - 在下载过程中捕获异常并回调通知,增强错误处理能力
    - 设置 PDF 输出权限,允许访问性和打印权限- 更新依赖列表,添加 scalar_fastapi 和 tenacity
    
    fix(utils): 优化文件下载重试逻辑
    
    - 使用 @Retry 装饰器替代手动循环重试,提高代码可读性- 增加对响应状态的判断,抛出更明确的异常信息- 限制下载文件大小为1GB,避免内存溢出风险
    izerui committed Sep 24, 2025
    Configuration menu
    Copy the full SHA
    fa55a10 View commit details
    Browse the repository at this point in the history

Commits on Dec 9, 2025

  1. feat(pdf): 添加PDF表格提取和Excel导出功能

    - 新增从PDF中提取包含特定表头的表格功能
    - 实现将提取的表格保存到Excel文件的独立工作表中
    - 添加命令行参数支持处理单个或多个PDF文件
    - 支持自定义目标表头关键词进行表格筛选
    - 自动创建输出目录并按PDF文件名生成对应Excel文件
    - 添加对表格数据的清洗和格式化处理
    - 集成pymupdf和pandas库实现PDF解析和数据处理
    - 添加openpyxl依赖用于Excel文件写入
    - 更新.gitignore排除生成的测试文件
    - 添加详细的处理日志和进度提示信息
    izerui committed Dec 9, 2025
    Configuration menu
    Copy the full SHA
    e81ca7f View commit details
    Browse the repository at this point in the history
Loading