polymath
polymath copied to clipboard
Add a tool to generate chunks of content from a given user's medium account
Medium has an export tool that generates a zip archive of files.
The posts live in the posts
folder, one html file for each post. Note that any comment responses are also mixed in and there doesn't seem to be ways to distinguish them.
The canonical link for the post is included in a <a href='' class='p-canonical'>
at the end of each HTML file.
Drafts start with a draft_
filename.
- [ ] Document how to use it
- [ ] Allow an option to include or exclude drafts
- [ ] update README with new command arguments