Scraping Medium Posts
Ellie Day
73

OK, here’s my take! I think your solution doesn’t work anymore because Medium changed something. Particularly, “embedded” is not found anymore:

scraper.rb:28:in `get_latest’: undefined method `[]’ for nil:NilClass (NoMethodError)

I looked into the issue… and made a version that works in my own language (JavaX). You can look at it here: http://tinybrain.de/1004105 (Click on the “Pure Java” link to see how it actually works.)

To run the program, you will need Java and this one file: http://tinybrain.de/x30.jar

It finds the 3 latest posts BTW. Any idea on how to get more posts at once? Maybe all of them even?

Greetings!
Stefan