curl-users
Re: Fwd: Curl sends me to main web page when it exists redirect.
From: Daniel Stenberg <daniel_at_haxx.se>
Date: Mon, 24 Oct 2016 15:53:35 +0200 (CEST)
Date: Mon, 24 Oct 2016 15:53:35 +0200 (CEST)
On Mon, 24 Oct 2016, mierdatutis mi wrote:
> I execute a script periodically. At the begining of my script, I save
> cookies to use them. so I don't understand why only happens sometimes. There
> is some way (log, some modifier...) to can investigate the problem
Well, the -v flag to curl gives you as much data there is. You won't know
exactly why the server does what it does, you have to figure that out trying
different things, comparing with what a browser does against the same site or
by asking the admins of the site.
-- / daniel.haxx.se ------------------------------------------------------------------- List admin: https://cool.haxx.se/list/listinfo/curl-users FAQ: https://curl.haxx.se/docs/faq.html Etiquette: https://curl.haxx.se/mail/etiquette.htmlReceived on 2016-10-24