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. mrahmadawais with yours.
  • STEP #2: Open JavaScript Console. On Mac press COMMAND (⌘) + ALT (⌥) + J. Or just right click > Inspect > Click the tab named Console .
  • 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 /latest to browse the latest articles, scroll down to the last article and then run this scrip in the JavaScript console → document.querySelectorAll(‘.postArticle-content a’).forEach((link) => console.log(link.href)) you’ll get all the links.

Peace! ✌️

--

--

Award-winning DevRel Eng. ❯ NodeCLI.com ❯ VSCode.pro ❯ Google Developers Expert ❯ Node.js Community Committee ❯ WordPress Core ❯ Self-confessed tech comedian!

Love podcasts or audiobooks? Learn on the go with our new app.

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Ahmad Awais ⚡️

Ahmad Awais ⚡️

Award-winning DevRel Eng. ❯ NodeCLI.comVSCode.pro ❯ Google Developers Expert ❯ Node.js Community Committee ❯ WordPress Core ❯ Self-confessed tech comedian!