Skip to main content

Automatically export all pages in Bookstack.

Project description

bookstack-dl

Python module to help automatically export all pages in a bookstack instances. This will crawl through the web api, listing all books, chapters, and pages. Then, it will download them in a folder heirarchy.

Installation

pip install bookstack_dl

Usage

from bookstack_dl import BookstackAPI

# Initiate and log in.
bs = BookstackAPI("https://your.bookstackinstall.com", "user@email.com", "userpassword")

# kick off gathering meta data
bs.get_all_books()

# download all
bs.download_all("<full_path_to_root_download_dir>")

Python Dependencies

Currently, this requires Python 3.6+ due to the use of f-strings. The os.makedirs exist_ok option requires 3.5+. Contributions are welcome to help lower the minimum required version.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

bookstack_dl-0.1.1.tar.gz (4.4 kB view hashes)

Uploaded source

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page