HN user

hecticjeff

274 karma
Posts22
Comments11
View on HN
checkeagle.com 6mo ago

A Month of Chat-Oriented Programming

hecticjeff
1pts0
janelloi.com 5y ago

How I Curate a Weekly Newsletter

hecticjeff
3pts0
www.scotthyoung.com 5y ago

How to Be Prolific

hecticjeff
2pts0
www.chrismytton.com 5y ago

Be prolific

hecticjeff
328pts131
www.chrismytton.com 5y ago

Ruby: The not so good parts

hecticjeff
2pts0
www.chrismytton.com 5y ago

Why I'm starting a newsletter, and you should too

hecticjeff
5pts0
www.chrismytton.com 5y ago

Consume less, produce more

hecticjeff
57pts13
www.chrismytton.uk 11y ago

Web scraping with morph.io

hecticjeff
2pts0
chrismytton.uk 11y ago

Web Scraping with Ruby Mechanize

hecticjeff
1pts0
www.chrismytton.uk 11y ago

Advanced web scraping in Ruby with Mechanize

hecticjeff
2pts0
www.chrismytton.uk 11y ago

Web scraping with Ruby

hecticjeff
55pts31
meta.discourse.org 13y ago

Discourse turns its back on CoffeeScript

hecticjeff
3pts0
github.com 13y ago

Ruby client for foauth.org - Makes OAuth optional

hecticjeff
1pts0
foauth.org 13y ago

Foauth.org - Simple OAuth for your data

hecticjeff
7pts1
github.com 13y ago

Parse Procfiles in Go

hecticjeff
6pts1
github.com 14y ago

Gaug.es for Android

hecticjeff
31pts2
github.com 14y ago

Rack::GitSha

hecticjeff
1pts0
github.com 14y ago

Rack app to serve deployed git commit SHA

hecticjeff
1pts0
github.com 14y ago

Shoreman - foreman(1) in shell

hecticjeff
2pts1
github.com 14y ago

Shopify open source batman.js

hecticjeff
3pts0
github.com 14y ago

Rvm's 'obnoxious' cd override is now off by default

hecticjeff
8pts2
hecticjeff.net 15y ago

Test Driven Development Lifecycle

hecticjeff
2pts2

I agree that mechanize is an excellent scraping solution, but for something really basic like this where we're not clicking links or submitting forms it seemed like a bit of an overkill :)

You can redirect the output of the script to a json file, so in this case something like:

$ ruby scraper.rb > showings.json

Glad you enjoyed it!

I've noticed this as well, there aren't enough articles that give a heuristic view of testing as a whole process.

Hopefully I'll get time to write "part 2" of this article soon, with a walk-though of testing the whole stack.