简体   繁体   English

使用wget进行CSV下载

[英]CSV download using wget

I need to download the csv files after clicking I agree from the below page - 在下一页中单击“我同意”后,我需要下载csv文件-

http://www.gasbb.com.au/ http://www.gasbb.com.au/

click on Region SA click on I agree 点击地区SA点击我同意

Links on left hand side of the page Forecast Pipeline Flows Capacity Outlook 页面左侧的链接预测管道流量产能展望

Can you please let me know if this can be done using wget? 您能否让我知道是否可以使用wget完成?

Yes. 是。 All you need to do is to find out where the resource's public url is using your browser's developer console (or firebug). 您需要做的就是使用浏览器的开发人员控制台(或Firebug)来查找资源的公共URL。

In this case, I have located it for you. 在这种情况下,我已为您找到了它。 So:- 所以:-

wget http://www.gasbb.com.au/Data/Public/E_AUST/int923_v1_forecast_pipeline_flow_r_1~20121122000650.csv

Reference my chrome's developer console:- 参考我的Chrome开发者控制台:

在此处输入图片说明

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM