You need to enable JavaScript to run this app.
优惠活动
大模型
产品
解决方案
定价
更多

使用aria2c下载MIMIC-III数据集遇问题求助

解决aria2c递归下载MIMIC-III匹配波形数据集的问题

aria2c默认不会递归下载网页目录,这是你只得到index.html的核心原因。要实现类似wget的递归下载效果,需要添加递归相关参数,以下是可行的解决方案:

基础递归下载命令

使用带递归参数的aria2c命令,对应你之前的wget参数逻辑:

aria2c -c -j 4 -x 4 -s 4 -k 1M -m 0 --allow-overwrite=true --auto-file-renaming=false --recursive --depth=inf --no-parent https://physionet.org/files/mimic3wdb-matched/1.0/

关键参数说明

  • --recursive:启用递归下载模式,对应wget的-r参数
  • --depth=inf:设置无限递归深度,确保下载所有层级的子目录内容
  • --no-parent:禁止访问父目录,避免下载无关内容,对应wget的-np参数

处理认证问题(若需)

如果PhysioNet需要登录后才能下载完整数据集,需导入浏览器的cookie文件:

  1. 在登录PhysioNet的浏览器中,用插件导出cookie为cookies.txt文件
  2. 在命令中添加--load-cookies参数:
aria2c -c -j 4 -x 4 -s 4 -k 1M -m 0 --allow-overwrite=true --auto-file-renaming=false --recursive --depth=inf --no-parent --load-cookies=cookies.txt https://physionet.org/files/mimic3wdb-matched/1.0/

过滤下载文件类型(可选)

若只想下载特定格式的数据集文件(如.dat、.hea),可添加--accept参数缩小范围:

aria2c -c -j 4 -x 4 -s 4 -k 1M -m 0 --allow-overwrite=true --auto-file-renaming=false --recursive --depth=inf --no-parent --accept=*.dat,*.hea https://physionet.org/files/mimic3wdb-matched/1.0/

内容的提问来源于stack exchange,提问作者Jake

相关产品推荐
方舟 Agent Plan

超全模态模型 × Harness 升级,最新支持 Deepseek-V4.1-Flash、GLM-5.3 系列、Doubao-Seedream-5.0-pro、Kimi-K3 (部分), 限时 9.9 元起

最近更新时间:2026.07.28 00:02:13