bug-wget
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Bug-wget] I do not know what to do please help me


From: Micah Cowan
Subject: Re: [Bug-wget] I do not know what to do please help me
Date: Fri, 03 Apr 2009 20:29:47 -0700
User-agent: Thunderbird 2.0.0.21 (X11/20090318)

tomwishyet wrote:
> Ladies and Gentlemen,
> 
> I like the wget program because it does a lot of good thinks, but I
> am not able to solve a simple problem.
> 
> If I write a file like this (named downld.sh)
> 
> wget -O page1.html http://www.site.com/cp?s=^thing
> 
> all is ok and wget works fine, but if I write
> 
> wget -O page2.html http://www.site.com/cp?s=^thing&c=1
> 
> wget downloads the same content as previous.  With other words
> wget ignores the additional &c=1 part of the address.
> I've also tried
> 
> wget -O page2.html http://www.site.com/cp?s=^thing&c=1
> 
> but nothing changed. I am too dude to solve such an easy problem,
> but please be so kind and tell me what am I doing wrong.
> Many thanks in advance!

Your shell interprets the & character specially. Please be sure to
surround the URL with double-quotes, so that the shell will pass the
whole URL to wget.

-- 
Micah J. Cowan
Programmer, musician, typesetting enthusiast, gamer.
Maintainer of GNU Wget and GNU Teseq
http://micah.cowan.name/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]