警告:二进制输出可能会弄乱您的终端。使用“--output-”来告诉

Tez*_*Tez 5 curl

为什么不!curl -0处理这个数据库并保存?我相信它应该有效。不太确定--output--可以用哪里来告诉..

!curl -0 http://openrecipes.s3.amazonaws.com/recipeitems-latest.json.gz

Warning: Binary output can mess up your terminal. Use "--output -" to tell 
Warning: curl to output it to your terminal anyway, or consider "--output 
Warning: <FILE>" to save to a file.
Run Code Online (Sandbox Code Playgroud)

han*_*ach 2

只需将eg添加--output recipeitems-latest.json.gz到您的命令中,然后它将存储为二进制文件(原样)