GOG recently fixed an issue with Galaxy API and introduced a minor change to the API at the same time.
They probably haven't updated Galaxy to properly handle the new change yet.
The problem is caused by change in "downlink" json response.
Example:
http://api.gog.com/products/1458127099/downlink/installer/en1installer1 Previously it returned something similar to this:
{
"checksum" : "[url=https://content-system.gog.com/products/1458127099/.../setup_jotun_20170727_(13763)-1.bin.xml?access_token=...]https://content-system.gog.com/products/1458127099/.../setup_jotun_20170727_(13763)-1.bin.xml?access_token=...[/url]",
"downlink" : "[url=https://content-system.gog.com/products/1458127099/.../setup_jotun_20170727_(13763)-1.bin?access_token=...]https://content-system.gog.com/products/1458127099/.../setup_jotun_20170727_(13763)-1.bin?access_token=...[/url]"
}
Now it returns this:
{
"checksum" : "
https://content-system.gog.com/products/1458127099/users/46987509246404841/namespaces/website/download?path=%2Fsecure%2Foffline%2F1458127099%2F1458127099%2F50370419844322084%2F5782%2Fsetup_jotun_20170727_%2813763%29-1.bin.xml&access_token=...",
"downlink" : "
https://content-system.gog.com/products/1458127099/users/46987509246404841/namespaces/website/download?path=%2Fsecure%2Foffline%2F1458127099%2F1458127099%2F50370419844322084%2F5782%2Fsetup_jotun_20170727_%2813763%29-1.bin&access_token=..."
}
I assume that GOG Galaxy gets the file name like lgogdownloader gets it.
Find last "/" and first "?" and assign everything between them as file name. This of course breaks with the new response because it always gets "download" as file name.
It's easy to fix and I already implemented a fix for it in lgogdownloader.
https://github.com/Sude-/lgogdownloader/commit/79aa66a2d391881077421278c76837348fb21a70 Just unescape/urldecode the returned "downlink" value. Find last "/" and first "&" and then assign everything between them as file name.
edit: apparently the forum really hates the url formatting