错误:curl:尝试使用“ curl --help”或“ curl --manual”以获取更多信息

我收到错误消息:curl:尝试使用“ curl --help”或“ curl --manual”以获取更多信息

运行时:

curl 'http://www.ncedc.org/cgi-bin/catalog-search2.pl' \

-H 'Pragma: no-cache' -H 'Origin: http://ncedc.org' \

-H 'accept-Encoding: gzip,deflate' \

-data 'format=nccsv&mintime=1967%2F01%2F01%2C00%3A00%3A00&maxtime=&minmag=2.5&maxmag=&mindepth=&maxdepth=&minlat=&maxlat=&minlon=&maxlon=&etype=E&keywds=&outputloc=web&searchlimit=1000000' - compressed \

| sed '/^</d' > earthquakes-smaller.csv

我使用以下命令获取要显示在终端中的数据


curl 'http://www.ncedc.org/cgi-bin/catalog-search2.pl' \

-H 'Pragma: no-cache' -H 'Origin: http://ncedc.org' \

-H 'accept-Encoding: gzip,deflate' \

--data 'format=nccsv&mintime=1978%2F01%2F01%2C00%3A00%3A00&maxtime=&minmag=0.5&maxmag=&mindepth=&maxdepth=&minlat=&maxlat=&minlon=&maxlon=&etype=E&keywds=&outputloc=web&searchlimit=1000000' --compressed

但是,我想将其放入CSV中,以便可以使用它。我尝试对第一个查询进行了一些调整,但均未成功。预先感谢!

xiaoxi8892 回答:错误:curl:尝试使用“ curl --help”或“ curl --manual”以获取更多信息

暂时没有好的解决方案,如果你有好的解决方案,请发邮件至:iooj@foxmail.com
本文链接:https://www.f2er.com/3147744.html

大家都在问