Original Date: November 27, 2013
I wanted to get the trade history of a user (whom I suspected was a bot), but I didn’t want to copy and paste all those pages.
I had previously watched episode 191 of RailsCasts where Ryan Bates uses Mechanize to login to a site and scrape the desired data. The original instructions in the video were not 100% applicable, however the Mechanize documentation filled in the gaps.
I put a script together using the two sources, and… it worked!