[英]How to download the contents of a web page on to a .txt file using wget in Linux command line?
The page that I'm trying to download from (made up contact info):我试图从中下载的页面(组成联系信息):
http://www.filltext.com/?rows=1000&nro={index}&etunimi={firstName}&sukunimi={lastName}&email={email}&puhelinnumero={phone}&pituus={numberRange|150,200}&syntymaaika={date|10-01-1950,30-12-1999}&postinumero={zip}&kaupunki={city}&maa={country}&pretty=true
The command that I have been using (I have tried a lot of different options etc.):我一直在使用的命令(我尝试了很多不同的选项等):
wget -r -O -F [filename] URL
It works in the sense that it downloads the web page content to the file, but instead of being the raw data that is inside the cells, it's just a bunch of curly brackets.它的工作原理是将网页内容下载到文件中,但它不是单元格内的原始数据,它只是一堆大括号。
How do I download the actual raw data instead of the JSON file?如何下载实际的原始数据而不是 JSON 文件? Any help would be very much apppreciated!任何帮助将不胜感激!
Thank you.谢谢你。
你想要像wget google.com -q -O -
这样的东西吗?
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.