curl-library
Re: c++: cookies not working in libcurl
From: Jeff Pohlmeyer <yetanothergeek_at_gmail.com>
Date: Sat, 21 Aug 2010 05:32:16 -0500
Date: Sat, 21 Aug 2010 05:32:16 -0500
On Sat, Aug 21, 2010 at 5:12 AM, Shaaa wrote:
> I can retrieve the page but it tells me I must be logged in to access the
> content. I tried to access the content with wget --load-cookies (using the
> same cookie) and it worked.
Some things to try:
CURLOPT_REFERER
CURLOPT_AUTOREFERER
CURLOPT_USERAGENT
You might be able to get some clues about why it's not
working by setting CURLOPT_VERBOSE and comparing the
output with wget's -d option.
- Jeff
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette: http://curl.haxx.se/mail/etiquette.html
Received on 2010-08-21