PDA

View Full Version : Using wget to save dr.jack files without cookies


April 3rd 14, 01:39 AM
Greetings,

I used to have a batch file set up on a previous computer which would download 6 images of soaring data each day from dr.jack's site. This worked but used the cookie info within wget to get access to future day data.

My new computer is not playing nicely with cookies so I tried to use the URL format for cookieless downloads described on dr.jack's site.

When I use the cookieless URL in Firefox with the login info, it works. Try using the same URL via wget and no go. Looks like wget is for some reason inserting a space after my username, but that's just a guess.

Thought I'd see if anyone here might be able to help.

Thanks,

Mark

brtlmj
April 3rd 14, 10:01 PM
Mark,

Have you considered using curl instead?

curl -o <filename-to-save-as> -u <username>:<password> <url>

Bart

On Wednesday, April 2, 2014 5:39:04 PM UTC-7, wrote:
> Greetings,
>
>
>
> I used to have a batch file set up on a previous computer which would download 6 images of soaring data each day from dr.jack's site. This worked but used the cookie info within wget to get access to future day data.
>
>
>
> My new computer is not playing nicely with cookies so I tried to use the URL format for cookieless downloads described on dr.jack's site.
>
>
>
> When I use the cookieless URL in Firefox with the login info, it works. Try using the same URL via wget and no go. Looks like wget is for some reason inserting a space after my username, but that's just a guess.
>
>
>
> Thought I'd see if anyone here might be able to help.
>
>
>
> Thanks,
>
>
>
> Mark

April 4th 14, 12:27 AM
On Thursday, April 3, 2014 4:01:10 PM UTC-5, brtlmj wrote:
> Mark,
>
>
>
> Have you considered using curl instead?
>
>
>
> curl -o <filename-to-save-as> -u <username>:<password> <url>
>
>
>
> Bart
>
Bart,

Thanks. I'll give that a try.

Mark

Google