curl - 从 Bintray 下载整个存储库
问题描述
尝试使用 wget 从 jcenter-bintray 下载整个存储库不起作用。我有一个私人存储库,我正在尝试在 jcenter 日落之后下载它的所有工件。
运行命令:$wget --recursive -e robots=off --no-parent --reject "index.html*" --user=<MY_USERNAME> --password=<MY_PASSWORD> "https://dl.bintray.com/nanorep/"
递归调用以下载所有工件但每个工件的 url 错误的结果。每个工件都有一个“/:”前缀,导致 404 错误:
--2021-04-26 12:51:11-- https://dl.bintray.com/<PATH_TO_ARTIFACT>.zip Reusing existing connection to dl.bintray.com:443. HTTP request sent, awaiting response... 404 Not Found 2021-04-26 12:51:11 ERROR 404: Not Found.
为什么我将“/:”添加到工件 url 中,我该如何避免它?
解决方案
推荐阅读
- c++11 - 为什么我会收到错误“使用临时作为左值”
- sql-server - SQL Server:从 jpeg 文件更新二进制数据以获取多个 jpeg 文件
- python-3.x - python“请求”如何提供历史url数据?
- multithreading - 在 perl 中将线程队列对象作为对象变量传递
- css - 代码的第一个 CSS 声明适用于内部样式表,但不适用于外部样式表
- apache-spark - 预定义(和大)窗口?任何流处理框架都支持这个?
- vue.js - Vue:获取 v-select 的默认值
- php - 错误号:使用 Codeigniter 3 删除数据时出现 1064
- jquery - Bootstrap 图像响应式握把
- mysql - 将数据类型从 int 更改为 time 导致现有值出错