Every Substack newsletter has a few posts that got far more likes, comments and restacks than the rest. Those posts tell you what its readers actually want. In this tutorial you will pull every post of any newsletter into Python and rank them, in about 15 lines of code.
You will get, for each post:
Title, subtitle, date and authors
Likes, comments, restacks and word count
Whether it is free or paid
The full text of free posts (great for research or LLM datasets)
Full disclosure: I built the scraper used here. It reads Substack's public data, so you don't need a login or an API key from Substack.
Setup (2 minutes)
Create a free account at apify.com .…