it should work by adding at the top of the file.
$user_agent = 'test/1.0 (http://tshirtfamily.fr/; email@example.com)'; ini_set('user_agent', $user_agent);
// 7. Obtenir une URL de caisse you’re missing the user_agent.
curl_setopt($ch, CURLOPT_USERAGENT, $user_agent);
Please add it there too.
Funny thing, yesterday it worked from home. I could only imagine, some config problems on my working machine and not on my home one or something changed @ sprd from yesterday till today.
Anyway I’ll test today evening and let you know. Beside of that, you may really switch to api getting designs. It’s a lot easier, reliable and is working great.
Here’s how to retrieve marketplace designs: https://pastebin.com/mwi8C2KE