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.2.tar.gz
(6.9 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file mediumbackup-1.1.2.tar.gz.
File metadata
- Download URL: mediumbackup-1.1.2.tar.gz
- Upload date:
- Size: 6.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.24.0 setuptools/47.1.0 requests-toolbelt/0.9.1 tqdm/4.51.0 CPython/3.8.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d4001b8783a9ab4b827e1f562d1bccf326199369eb3694cfdae646f2a3bf7a47
|
|
| MD5 |
b8d19999eec06eb790390d6b20c8f8cd
|
|
| BLAKE2b-256 |
902572590668f732c197ed71003d95350d2c6b30fcc72eb8825d75564b5b5d6f
|
File details
Details for the file mediumbackup-1.1.2-py3-none-any.whl.
File metadata
- Download URL: mediumbackup-1.1.2-py3-none-any.whl
- Upload date:
- Size: 8.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.24.0 setuptools/47.1.0 requests-toolbelt/0.9.1 tqdm/4.51.0 CPython/3.8.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
0df65a859637716072ff5fb40dbaeca391cf6921c9098c067972806f010766e3
|
|
| MD5 |
5d6da1a3d2eae458b8eadcb82926cf26
|
|
| BLAKE2b-256 |
1da34cd5a840970c0195befd28d2cd2aac6ef5f254ffb99757a9b61d8d201f2e
|