1. Code to Download
  2. Medium Links of Interest
    1. Sac500’s bookmarks, page 1
    2. Sac500’s bookmarks, page 2
    3. Sac500’s bookmarks, page 3
    4. Sac500’s bookmarks, page 4
    5. Sac500’s bookmarks, page 5
    6. Sac500’s bookmarks, page 6
    7. Sac500’s bookmarks, page 7

Export your account data

  • Downloaded to Downloads
  • Run the code below which is in download_medium_to_markdown.py
  • Grab the code and then put into this markdown page

Next Steps:

  • 🟥: Not implemented - read as TXT file, put into a df, then sort by some subheader
  • 🟨: Legacy material available, to be updated or re-written
  • 🟦: Available, modification required
  • 🟩: Good to go

Code to Download

# Setup
import glob
import os
from markdownify import markdownify


print('Current Directory:',os.getcwd(), '\n'* 2)
print(os.listdir("../Downloads/medium-exports"))
# Python Example
os.chdir("../Downloads/medium-exports")
file_list = list(glob.iglob("bookmarks/*.html"))
file_list.sort()
for num, name in enumerate(file_list, start=1):
    print("{0:3}: {1}".format(num, name)) 



md_text_list = []
for file_path in file_list:
    html_file = open(file_path, "r").read()
    md_text = markdownify(html_file)
    md_text_list.append("##" + md_text.split("###")[1])
text_file = open("bookmark_list.md", "w")
text_file.write("\n".join(md_text_list))
text_file.close()

Medium Links of Interest

How To Download Your Stories From Medium
A simple way to export your Medium’s reading list to a Markdown file

Sac500’s bookmarks, page 1

Sac500’s bookmarks, page 2

Sac500’s bookmarks, page 3

Sac500’s bookmarks, page 4

Sac500’s bookmarks, page 5

Sac500’s bookmarks, page 6

Sac500’s bookmarks, page 7