Hi.
I’ve been on the search for a way to automate code export for a while know, but couldn’t find anything, except for a rather old forum post that has been archived and never answered.
Is there anyway to automate this process? I am quite disappointed that the API doesn’t provide a call for this, since code export is a substantial feature of webflow.
hi!
I have know resorted to running a headless chromium via puppeteer to login to webflow, navigate to the designer and downloading the .zip from there.
I will publish a github repository later this week for everyone to use. It’s not great, but it does work.
The link can be found here, as soon as I pushed the repository.
I sadly haven’t been able to get it working in headless mode. I’ve been trying to login to Webflow via google and for whatever reasons the id of the signIn button in google’s login modal changes in headless chrome and I haven’t been able to figure out to what exactly or find another way around that. I’m still working on it though! Will post here again if I figured something out.