v15.2

opendatalab/MinerUv15.2Sep 2, 2025by snail007

AI Summary

This release enhances the proxy configuration capabilities of MinerU by introducing support for loading rule files via local paths, base64 encoding, and inline strings.

Key Highlights

  • Added support for `base64://` protocol to load encoded rule files.
  • Added support for `str://` protocol to define inline string rules.
  • Extended file loading support to parameters such as `--blocked`, `--direct`, `--hosts`, `--resolve-rules`, `--rewriter-rules`, `--ip-allow`, and `--ip-deny`.

New Features

  • Protocol-loaded file support for proxy parameters

Full Release Notes

1、一些使用文件的参数,增加了协议加载文件支持。
proxy的参数:--blocked --direct --stop --only --hosts --resolve-rules --rewriter-rules --ip-allow --ip-deny 支持协议加载文件。
格式可以是:
    a.文件名,文件内容一行一个规则,# 开头的行,为注释。
    b."base64://" 开头的base64编码的上面a说明的文件内容,比如:base64://ajfpoajsdfa=
    c."str://" 开头的字符串,规则之间用英文逗号分割,比如:str://