📜  ubuntu 下载文件命令行 - Python 代码示例

📅  最后修改于: 2022-03-11 14:45:39.482000             🧑  作者: Mango

代码示例1
$ sudo apt install curl

Download and save the file using the source file name
$ curl –O [URL]

Download and save the file with a different name
$ curl –o [filename] [URL]


Download multiple files
$ curl -O [URL1] -O [URL2]

Download files using Wget
----------------------------
$ sudo apt-get install wget
$ wget [URL]
$ wget -O [filename] [URL]