Skip to main content

🌏 Python Webflow Exporter

PyPI version python License: MIT

A command-line tool to recursively scrape and download all assets (HTML, CSS, JS, images, media) from a public .webflow.io website. It also provides the option to automatically remove the Webflow badge from downloaded JavaScript files.

[!CAUTION] ⚠️ DISCLAIMER: This repository is intended for educational and personal use only. It includes scripts and tools that may interact with websites created using Webflow. The purpose of this repository is not to harm, damage, or interfere with Webflow’s platform, branding, or services. By using this repository, you agree to the following:

  • You are solely responsible for how you use the contents of this repository.
  • The author does not condone the use of this code for commercial projects or to violate Webflow’s terms of service.
  • The author is not affiliated with Webflow Inc. in any way.
  • The author assumes no liability or responsibility for any damage, loss, or legal issues resulting from the use of this repository.

If you are unsure about whether your intended use complies with applicable laws or platform terms, please consult legal counsel or refrain from using this repository.

Features

  • Recursively scans and downloads:
    • All linked internal pages
    • Stylesheets, JavaScript, images, and media files from Webflow CDN
  • Optional removal of Webflow badge
  • Fast processing
  • Complete export of site
  • Automatic creation of a sitemap.xml

Installation

Option 1: Install with pip

pip install python-webflow-exporter

Option 2: Run directly with uv (recommended for one-time use)

First, install uv if you haven't already:

Linux/macOS:

curl -LsSf https://astral.sh/uv/install.sh | sh

macOS (with Homebrew):

brew install uv

Windows:

powershell -ExecutionPolicy ByPass -c "irm https://astral.sh/uv/install.ps1 | iex"

For other installation methods, see the uv installation guide.

Then run the tool directly:

uv tool run --from python-webflow-exporter webexp --url https://example.webflow.io

No installation required - uv will automatically handle dependencies and run the tool.

Usage

After pip installation

webexp --url https://example.webflow.io

Arguments

Argument Description Default Required
--help Show a help with available commands - ❌
--version Print the current version - ❌
--url The public Webflow site URL to scrape – ✅
--output Output folder where the site will be saved out ❌
--remove-badge remove Webflow badge false ❌
--generate-sitemap generate a sitemap.xml file false ❌
--debug Enable debug output false ❌
--silent Enable silent, no output false ❌

Output

After execution, your specified output folder will contain:

  • All crawled HTML pages
  • Associated assets like CSS, JS, images, and media
  • Cleaned HTML and JS files with Webflow references rewritten
  • Optionally removing the webflow badge

Development Requirements

Make sure you have Python 3.8+ installed. Required packages are:

  • requests
  • argparse
  • beautifulsoup4
  • halo

Optional:

  • pyinstaller
  • pylint

They are included in requirements.txt.

Local development

Clone the script and run the following commands to test it

git clone https://github.com/KoblerS/python-webflow-exporter.git
cd python-webflow-exporter

pip install -e .

Refer to #usage for more information on how to use the CLI.

License

This project is released under the MIT License.

Disclaimer

This tool is provided "as-is" without any warranties. The author is not responsible for misuse or damage caused by this software. For full terms, see DISCLAIMER.md.

Metadata

Release files for python-webflow-exporter 1.0.6

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for python-webflow-exporter 1.0.6
File Size Uploaded
python_webflow_exporter-1.0.6.tar.gz 8.5 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for python-webflow-exporter 1.0.6
File Interpreter ABI Platform
python_webflow_exporter-1.0.6-py3-none-any.whl Python 3 none any Details

Total release size: 17.6 kB

Release files / python_webflow_exporter-1.0.6.tar.gz

Download URL python_webflow_exporter-1.0.6.tar.gz
Size 8.5 kB
Tags Source
SHA-256 checksum
How to use checksums
8fa428cabf13a654c56c6081187c41316276c5a2376ea149e29b5eb883c81c1f
BLAKE2b-256 checksum
How to use checksums
dc30ba7adcb603dfea051bd05a1f26ff6f2565d409de4ad70b4bf2b1dbd8f63c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.2.0 CPython/3.12.11

Release files / python_webflow_exporter-1.0.6-py3-none-any.whl

Download URL python_webflow_exporter-1.0.6-py3-none-any.whl
Size 9.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
5d15639d6f6e4ecc9107173fa4fce5eb8374a42a3beb55a05b3cdf497bb25173
BLAKE2b-256 checksum
How to use checksums
000f721e22e7622bbcd0d126359281dc69c1ebeb8fc7e04770d0c6bed360654c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.2.0 CPython/3.12.11

Release history Release notifications | RSS feed

This release

1.0.6 This release

2 release files

1.0.5

2 release files

1.0.4

1 release file

1.0.3

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page