I've just made public a small tool to people migrate their Squarespace sites to Markdown-based platforms like Jekyll, Hugo, or Ghost. My wife had a Squarespace site and wanted to leave it. It turned out to be a huge hassle to get the content out in a way that was easy to work with on another platform.
The Squarespace Export to Markdown Converter is a Python script that transforms Squarespace's XML exports into clean, portable Markdown files and a directory of associated images.
To use, first trigger an export from Squarespace. This will download a squarespace.xml file.
Here's a quick example of how to use it:
python script.py --download_images
This command will process your squarespace.xml
file, convert all posts to Markdown, and download the associated images.
python script.py --download_images --img_url https://your-custom-url.com --namespace http://your-custom-namespace.com
Check out the GitHub repository.