Member-only story
Case Study: An Automation Utility for Medium Authors. Part 1: Extract a List of Medium Article Titles
A helpful utility for high-volume Medium bloggers using Selenium WebDriver with Ruby.
This is adapted from my daughter’s article (with permission).
Medium authors know that only ~25 stories (under ‘Drafts’ and ‘Published’) are displayed each time on the dashboard page. When you scroll down to the bottom, 25 or so more stories will be shown; this is known as lazy loading (or progressive loading).
For a high-volume Medium blogger like me, with hundreds of stories in both ‘Published’ and ‘Drafts,’ locating a specific article can be a time-consuming task.
Here is how I do blogging. I write down the core thoughts immediately, in draft mode, when an idea comes to me. As a result, there are some duplicates. This script will help me identify zombile and duplciate drafts.
On the weekend, I asked my daughter to create an automation script that extracts a list of medium articles. Below is what she wrote about her implementation.