OK here is a reformulation of my problem in case the previous attempt
got blocked.
I am running 1.10.2, self-built on Mac OS X. I do a Google search in
Firefox and save the page as "web page, html only". I call the file
test.search ('cos I want to do things to html files later on). I then
run the following script
DOMS1=www.google.com,images.google.com,froogle.google.com,groups.google.com,news.google.com
DOMS2=www.google.co.uk,images.google.co.uk,froogle.google.co.uk,groups.google.co.uk,news.google.co.uk
DOMS=${DOMS1},${DOMS2}
UA="Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1)"
wget -S -pxk -w 2 -b -U "${UA}" --exclude-domains=$DOMS -F -i test.search
The search goes OK but there are lots of errors like this:
Cannot resolve incomplete link
/advanced_search?q=platypus+mac&hl=en&hs=jzi&lr=&client=firefox-a&rls=o
rg.mozilla:en-US:official
is it being confused by the '?' perhaps? is there a way of excluding
such URLs?. All of these errors are for links to google.co.uk which I
had attempted to exclude, what have I done wrong?
When wget completes I have e.g. the following directories
64.233.183.104/ osx.iusethis.com/
work.alexyoung.org/
digg.com/ platypus.darwinports.com/
www.google.co.uk/
froogle.google.co.uk/ static.iusethis.com/
www.greenapplegames.com/
groups.google.co.uk/ test.search
www.pure-mac.com/
images.google.co.uk/ wget-log
www.versiontracker.com/
mac.softpedia.com/ wget.sh
news.google.co.uk/ wget.sh~
Which includes domains I had excluded, again what am I doing wrong?
For ease of workflow it is necessary for me to work from files of
results, if I save the google results as text then nothing happens
regardless of the -F switch. If I save as web page complete I get the
same outcome as above. Just out of desperation I also tried adding -R
'*\?*' to the command line, this made no difference either
Ed