Download embedded links in a html page using wget
10,789
wget
is giving you what you asked for. You dint specify the package link. You are specifying the page link. Right click on the Download
button of the required package on the page and select Copy Link Address
and specify that address to wget
This works
wget -r -l 1 https://github.com/justintime/nagios-plugins/zipball/master
Related videos on Youtube
Author by
Shankhoneer Chakrovarty
Updated on June 25, 2022Comments
-
Shankhoneer Chakrovarty almost 2 years
I am trying to download the package from https://github.com/justintime/nagios-plugins/downloads using wget, but what I am getting is the html file of the link I mentioned not the package. I tried this command:
wget -r -l 1 https://github.com/justintime/nagios-plugins/downloads
Is there any way to download the package from the above link?
-
Pavan Manjunath over 11 years@ShankhoneerChakrovarty Actually your recursive option should also have worked as the package download link is there in the main downloads page.(I even tried with higher depths to no avail) I am not sure why
wget
itself dint search for those links and download, as-r
is specified.