An easy way to get URL list of your Medium publication

I imported blog posts from own Wordpress but I have to redirect old articles to Medium manually. There is Wordpress plugin which enables you to redirect articles, but it requires URL mapping in CSV format. When you want to get Medium publication’s URL list, you may use official APIs, but officially, it lacks the function to get list of posts. We need some other choices, but I couldn’t get the post list. In this article, I will show you how to get URL list of your Medium publication easily.

Note: I tried this method with under 150 articles publication. It might not work with huge number of articles.

How-to

You can use following Python script, after showing whole articles with accesing /latest of a publication. For example, after opening https://blog.chezo.uno/latest, you can get whole contents with scrolling down and down and down…

Aki Ariga
Aki Ariga
Principal Software Engineer

Interested in Machine Learning, ML Ops, and Data driven business. If you like my blog post, I’m glad if you can buy me a tea 😉

  Gift a cup of Tea

Related