Posted May 09, 2011

BTW, where did you get this code from?
curl_easy_setopt(curl_handle, CURLOPT_VERBOSE, 1L);
it now prints info durring the login so you should be able to see if it fails somewhere
also create a directory .gogdownloader in home (mkdir ~/.gogdownloader)
then edit the source code, change line 270 to this
settings.cookie=strcat(getenv("HOME"),"/.gogdownloader/cookies.txt");
and recompile it
this way it works without you needing to specify the cookie path everytime
I wrote the code
http://www.gog.com/en/forum/general/simple_gogdownloader_written_in_c