> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Perjan Moors wrote:
>> Hi there,
>>
>> I am trying to wget the URL
>> http://www.programmagids.nl/[EMAIL PROTECTED]&datum=2008-01-10
>>
>> but it doesn't work. wget seems to shuffle around a bit with the %26 and
>> the & character, but in the end sends a http request with an & instead
>> of
>> the %26, which of course doesn't work.
>>
>> I'm using wget 1.9.1 on windows vista
>>
>> Is there any way to make wget fetch this URL?
>
> Hi!
>
> Try using a more recent release; it seems to work as expected with Wget
> 1.10.2 running on Red Hat.
>
> You can get recent versions of Wget at
> http://www.christopherlewis.com/WGet/WGetFiles.htm; you may as well get
> the top link, labeled TRUNK, as that's due to release very soon, and
> should be stable.
>
> - --
> Micah J. Cowan
> Programmer, musician, typesetting enthusiast, gamer...
> http://micah.cowan.name/
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.7 (GNU/Linux)
> Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
>
> iD8DBQFHhrRg7M8hyUobTrERAtPwAKCDv8Z42Ien2NVXXhdacbUHPOqZ0QCggz24
> /9u2eyHyPc5rAjDRe7/LdZs=
> =FX92
> -----END PGP SIGNATURE-----
>


Hi Micah,

Both version 1.10.2 as TRUNK have the same problem as the 1.9.1 version:

C:\>wget "http://www.programmagids.nl/zoeken.php?zender=N
[EMAIL PROTECTED]&datum=2008-01-10"
--2008-01-11 03:13:10-- 
http://www.programmagids.nl/zoeken.php?zender=Nederland
[EMAIL PROTECTED]&datum=2008-01-10
Resolving www.programmagids.nl... 83.80.8.78
Connecting to www.programmagids.nl|83.80.8.78|:80... connected.
HTTP request sent, awaiting response... 302 Found
Location: /zoeken.php?cookies=no&zender=Nederland 3 &
[EMAIL PROTECTED]&datum=2008-01-10 [fol
lowing]
--2008-01-11 03:13:10-- 
http://www.programmagids.nl/zoeken.php?cookies=no&zende
r=Nederland%203%20&[EMAIL PROTECTED]&datum=2008-01-10
Connecting to www.programmagids.nl|83.80.8.78|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: unspecified [text/html]
Saving to: [EMAIL PROTECTED]&zender=Nederland 3 & [EMAIL 
PROTECTED]&datum=2008-01-10'

    [ <=>                                    ] 18,661      --.-K/s   in 0.06s

2008-01-11 03:13:11 (290 KB/s) - [EMAIL PROTECTED]&zender=Nederland 3
& [EMAIL PROTECTED]
p&datum=2008-01-10' saved [18661]

As you can see, the HTTP request contains the & character instead of %26

Any other solution?


Thanks,

Perjan

Reply via email to