Get Links to All of Your Medium Posts
Maybe like me you are thinking about migrating away from Medium? While there are some complex guides available on how you can get links to all of your Medium posts, I have an easier one that just works.
- STEP #1: Go to your profile latest page
https://medium.com/@mrahmadawais/latest— swap my username i.e.
J. Or just right click > Inspect > Click the tab named
- STEP #3: Paste and run this command
document.querySelectorAll(‘.c .h > a’).forEach((link) => console.log(link.href))and you’ll get the links to all of your posts. Just copy them and use however you want.
- STEP #4: For publications, go to your publication link, then add
document.querySelectorAll(‘.postArticle-content a’).forEach((link) => console.log(link.href))you’ll get all the links.