Hi Dominic! Since wget 1.8, the following should be the case: ************* *** When in page-requisites (-p) mode, no-parent (-np) is ignored when retrieving for inline images, stylesheets, and other documents needed to display the page. ************** (Taken from the included news file of wget 1.8.1)
I however remember that I once had the same problem, that -p -np will only get page requsites under or at the current directory. I currently run wget 1.9-beta and haven't seen the problem yet. CU Jens > Dominic Chambers wrote: > > Hi again, > > I just noticed that one of the inline images on one of the jobs I did > was not included. I looked into this, and it was because it was it > outside the scope that I had asked to remain within using --no-parent. > So I ran the job again, but using the -p option to ensure that I kept > to the right pages, but got all the page requesites regardless. > > However, this had no effect, and I therefore assume that this option > is not compatible with the --no-parent option: > > wget -p -r -l0 -A htm,html,png,gif,jpg,jpeg > --no-parent http://java.sun.com/products/jlf/ed2/book/index.html > > Hope that helps, Dominic.
