Backup your Medium Stories.
Project description
mediumbackup - A Backup Utility for Medium
Saves all your Medium stories locally as html or markdown files.
Installation
pip install mediumbackup
Usage
As a script from the command line
python -m mediumbackup "<your username>"
As a module
import mediumbackup as mb
username = "<your username>"
mb.backup_stories(username)
Options
Specify a folder.
python -m mediumbackup "<username>" --backup_dir "backup 2020-11-01"
Save as markdown.
python -m mediumbackup "<username>" --format "md"
Download images.
python -m mediumbackup "<username>" --format -i
Download images to a different folder than the stories.
python -m mediumbackup "<username>" --backup_dir "posts" --download_images --images_dir "assets/images"
Include a front matter for jekyll.
python -m mediumbackup "<username>" --format "md" --jekyll_front_matter
Tests
To run the tests, execute:
python -m tests
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
mediumbackup-1.1.1.tar.gz
(6.8 kB
view hashes)
Built Distribution
Close
Hashes for mediumbackup-1.1.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 814b9c761b0d183ea7942985ae46142d271baae7785c8613007d1b65f4f6db3f |
|
MD5 | 06a801b3bd43f8f3ba482a9b1b1cc060 |
|
BLAKE2b-256 | a843cb4622c4dc0297a800f5d4247862ae1aa8f382f72f9afcd3397e1875e1cb |