如何使用wget / curl下载指定网页上的.zip文件的所有链接?

一个页面包含指向一组.zip文件的链接,所有这些都是我想要下载的。 我知道这可以通过wget和curl完成。 它是如何完成的?

该命令是:

wget -r -np -l 1 -A zip http://example.com/download/ 

选项含义:

 -r, --recursive specify recursive download. -np, --no-parent don't ascend to the parent directory. -l, --level=NUMBER maximum recursion depth (inf or 0 for infinite). -A, --accept=LIST comma-separated list of accepted extensions. 

以上解决scheme不适合我。 对我来说只有这个工作:

 wget -r -l1 -H -t1 -nd -N -np -A.mp3 -erobots=off [url of website] 

选项含义:

 -r recursive -l1 maximum recursion depth (1=use only this directory) -H span hosts (visit other hosts in the recursion) -t1 Number of retries -nd Don't make new directories, put downloaded files in this one -N turn on timestamping -A.mp3 download only mp3s -erobots=off execute "robots.off" as if it were a part of .wgetrc