<?xml version="1.0" encoding="UTF-8"?><?xml-stylesheet href="/assets/rss.xsl" type="text/xsl"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"

>
<channel>
	<title>Sacha Chua - tag - imacros</title>
	<atom:link href="https://sachachua.com/blog/tag/imacros/feed/index.xml" rel="self" type="application/rss+xml" />
	<atom:link href="https://sachachua.com/blog/tag/imacros" rel="alternate" type="text/html" />
	<link>https://sachachua.com/blog/tag/imacros/feed/index.xml</link>
	<description>Emacs, sketches, and life</description>
  
	<lastBuildDate>Mon, 06 Jul 2026 16:20:27 GMT</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>daily</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>11ty</generator>
  <item>
		<title>Automating bulk web stuff with iMacros</title>
		<link>https://sachachua.com/blog/2013/12/automating-bulk-web-stuff-with-imacros/</link>
		<dc:creator><![CDATA[Sacha Chua]]></dc:creator>
		<pubDate>Tue, 17 Dec 2013 01:19:00 GMT</pubDate>
    <category>geek</category>
		<guid isPermaLink="false">https://sachachua.com/blog/?p=26537</guid>
		<description><![CDATA[<p>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! (<a href="https://chrome.google.com/webstore/detail/imacros-for-chrome/cplklnmnlbnpmjogncfgfijoopmnlemp?hl=en">Chrome</a>, <a href="https://addons.mozilla.org/en-US/firefox/addon/imacros-for-firefox/">Firefox</a>)</p>
<p><a href="https://sachachua.com/blog/wp-content/uploads/2013/11/2013-11-21-Geek-notes-automating-bulk-web-stuff-with-iMacros.png"><img loading="lazy" title="2013-11-21 Geek notes - automating bulk web stuff with iMacros" style="border-top: 0px; border-right: 0px; background-image: none; border-bottom: 0px; padding-top: 0px; padding-left: 0px; border-left: 0px; display: inline; padding-right: 0px" border="0" alt="2013-11-21 Geek notes - automating bulk web stuff with iMacros" src="https://sachachua.com/blog/wp-content/uploads/2013/11/2013-11-21-Geek-notes-automating-bulk-web-stuff-with-iMacros_thumb.png" width="640" height="487"></a></p>
<p>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!</p>

<p>You can <a href="https://sachachua.com/blog/2013/12/automating-bulk-web-stuff-with-imacros/#comment">view 2 comments</a> or <a href="mailto:sacha@sachachua.com?subject=Comment%20on%20https%3A%2F%2Fsachachua.com%2Fblog%2F2013%2F12%2Fautomating-bulk-web-stuff-with-imacros%2F&body=Name%20you%20want%20to%20be%20credited%20by%20(if%20any)%3A%20%0AMessage%3A%20%0ACan%20I%20share%20your%20comment%20so%20other%20people%20can%20learn%20from%20it%3F%20Yes%2FNo%0A">e-mail me at sacha@sachachua.com</a>.</p>]]></description>
		</item>
	</channel>
</rss>