MCPcopy Create free account
hub / github.com/OpenRaiser/PaperFlow / _mineru_zip_url

Function _mineru_zip_url

agents/reading-agent/main.py:2732–2738  ·  view source on GitHub ↗
(payload: Dict[str, Any])

Source from the content-addressed store, hash-verified

2730
2731def _mineru_zip_url(payload: Dict[str, Any]) -> str:
2732 data = _mineru_extract_data(payload)
2733 for key in ("full_zip_url", "fullZipUrl", "zip_url", "zipUrl", "result_url", "resultUrl"):
2734 value = data.get(key) or payload.get(key)
2735 if value:
2736 return str(value)
2737 return ""
2738
2739
2740def _download_mineru_markdown(zip_url: str) -> str:
2741 response = requests.get(zip_url, timeout=PDF_DOWNLOAD_TIMEOUT)

Callers 1

Calls 2

_mineru_extract_dataFunction · 0.85
getMethod · 0.80

Tested by

no test coverage detected