2015-11-01 43 views
0

我想在Windows命令行中使用curl下載一組連續url。運行curl和連續url的括號時出錯

這裏是我在捲曲運行命令

C:\Curl>curl http://xuexiao.eol.cn/html4/1100/1140000[01-99]/index.shtml -o #.html 

當我運行此代碼,而不是創建一個順序的URL,支架是由URL的開頭代替,就像這樣:

C:\Curl>curl "http://xuexiao.eol.cn/html4/1100/1140000[01-10]/index.shtml" -o #.html 

[1/11]: http://xuexiao.eol.cn/html4/1100/114000001http://xuexiao.eo --> #.html 
% Total % Received % Xferd Average Speed Time Time  Time Current 
          Dload Upload Total Spent Left Speed 
0  0 0  0 0  0  0  0 --:--:-- --:--:-- --:--:--  0 

[2/11]: http://xuexiao.eol.cn/html4/1100/114000002http://xuexiao.eo --> #.html 
0  0 0  0 0  0  0  0 --:--:-- 0:00:01 --:--:--  0 

不知道我在做什麼錯。任何建議表示讚賞。

回答

0

我找到了我的問題的答案。我的Curl版本存在問題。我正在運行7.33,我知道上面描述的問題存在於7.33版本中。我升級到版本7.45,問題解決了。