Wget is a download tool that supports both ftp and http download methods.
Common parameters:
-R: recursively downloads all directories on the website
-M: equivalent to mirroring the entire website
-C: supports resumable upload.
-Nc: Do not download an existing file
-Np: indicates that the connection is not followed. Only the content in the specified directory and subdirectory is downloaded.
-P: All files are displayed on the download page. For example, the page contains images, but the images are not in the/yourdir directory. However, if this parameter is set under the/images directory, the images will still be downloaded normally.
-K: fixed the absolute connection in the downloaded file as a relative connection.
-O -- output-file = file: writes records to the file.
-A -- append-output = file: append the record to the file.
-I -- input-file = FILE: Download the url FILE listed in the file.
-Nd -- no-directories
-X, -- force-directories force Directory Creation
-NH, -- no-host-directories do not create the host directory
-P, -- directory-prefix = PREFIX: save the file to the directory PREFIX /...
-- Cut-dirs = NUMBER ignore the remote directory of the NUMBER layer