Posted May 09, 2011
mgol: Still nothing. My e-mail address besides letters has a dot and a '+' sign - maybe it's causing problems? (if curl has problems with that, of course, email variable is a usual string, so it should work OK).
BTW, where did you get this code from?
add this to login() function before curl_easy_perform 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