Automating bulk web stuff with iMacros
Posted on December 16th, 2013 by Sacha Chua
More posts about: geek Tags: automation, chrome, imacros, scripting, web // 2 Comments »
More posts about: geek Tags: automation, chrome, imacros, scripting, web // 2 Comments »
I found myself needing to download a whole bunch of JSON data from a server that had a weird authentication thing that Chrome could deal with but wget/curl/Ruby couldn’t. Since my Firefox was on the fritz, I couldn’t use Selenium IDE or the Selenium Webdriver. iMacros to the rescue! (Chrome, Firefox)
That plus lots of keyboard macros and text manipulation in Emacs, plus a little parsing and regexp substitution in Ruby, plus more Emacs munging got me the data I wanted. Hooray for bubblegum and string scripting!