File tree Expand file tree Collapse file tree 2 files changed +10
-5
lines changed Expand file tree Collapse file tree 2 files changed +10
-5
lines changed Original file line number Diff line number Diff line change
1
+ # 2.14.0
2
+ ## 新增
3
+ 1 . 支持归档直读
4
+
5
+
1
6
# 2.13.0
2
7
## 更新
3
8
1 . batchstat 和 batchsign 支持结果输出到文件
Original file line number Diff line number Diff line change @@ -32,8 +32,8 @@ $ qshell abfetch --doc
32
32
- -i/--input-file:要抓取的资源列表, 一行一个资源,每一行多个元素时使用 \t (tab 键)分割;如果没有通过该选项指定该文件参数, 从标准输入读取内容。每行具体格式如下:(【可选】)
33
33
- [ FileUrl]
34
34
- [ FileUrl] \t[ FileSize]
35
- - [ FileUrl] \t[ FileSize] \t[ Key] , // eg:https://qiniu.com/a.png\t1024\ta .png
36
- 注:FileSize 单位:B;如果不指定 key 则从 url 中获取最后一个 path 信息作为 key;eg:https://qiniu.com/a.png\t1024\ta.png key 为:ta .png
35
+ - [ FileUrl] \t[ FileSize] \t[ Key] , // eg:https://qiniu.com/a.png\t1024\tb.png key 为:b .png
36
+ 注:FileSize 单位:B;如果不指定 key 则从 url 中获取 path 信息作为 key;eg:https://qiniu.com/a/b/c .png key 为:a/b/c .png
37
37
- -b/--callback-body:回调的 http Body。 【可选】
38
38
- -T/--callback-host:回调时的 HOST 头。 【可选】
39
39
- -a/--callback-url:回调的请求地址。 【可选】
@@ -60,10 +60,10 @@ http://test.com/test3.txt
60
60
在当前目录下创建名为"urls.txt"的文件, 文件内容为
61
61
```
62
62
http://test.com/test1.txt
63
- http://test.com/test2.txt
64
- http://test.com/test3.txt
63
+ http://test.com/a/ test2.txt
64
+ http://test.com/a/b/ test3.txt
65
65
```
66
- 每行一个地址,因为未指定 key,所以 key 默认为 url 中最后一个 path 信息,分别为:test1.txt、test2.txt、test3.txt。
66
+ 每行一个地址,因为未指定 key,所以 key 默认为 url 中的 path 信息,分别为:test1.txt、a/ test2.txt、a/b/ test3.txt。
67
67
68
68
### 第二步:
69
69
使用如下的命令就可以抓取资源到存储名为 "test" 空间中
You can’t perform that action at this time.
0 commit comments