<?xml version="1.0" encoding="UTF-8"?>
<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>Stevan Litobac &#187; script</title>
	<atom:link href="http://www.litobac.com/tag/script/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.litobac.com</link>
	<description>for the clinically sane</description>
	<lastBuildDate>Thu, 06 Oct 2011 05:48:43 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3</generator>
		<item>
		<title>DSA Practical Driving Test search script</title>
		<link>http://www.litobac.com/2008/04/dsa-practical-driving-test-search-script/</link>
		<comments>http://www.litobac.com/2008/04/dsa-practical-driving-test-search-script/#comments</comments>
		<pubDate>Mon, 21 Apr 2008 10:29:18 +0000</pubDate>
		<dc:creator>Stevan</dc:creator>
				<category><![CDATA[Misc]]></category>
		<category><![CDATA[Web Development]]></category>
		<category><![CDATA[beautifulsoup]]></category>
		<category><![CDATA[dsa]]></category>
		<category><![CDATA[python]]></category>
		<category><![CDATA[script]]></category>

		<guid isPermaLink="false">http://www.litobac.com/?p=19</guid>
		<description><![CDATA[I&#8217;ve recently had to hastily pass my practical driving test as my theory test certificate was about to expire. It&#8217;s a little well known fact [...]]]></description>
			<content:encoded><![CDATA[<p><img src='http://www.litobac.com/wp-content/plugins/simple-post-thumbnails/timthumb.php?src=/wp-content/thumbnails/19.png&amp;w=70&amp;h=70&amp;zc=1&amp;ft=jpg' alt='post thumbnail' /></p>
<p><a href="http://www.litobac.com/wp-content/uploads/2008/04/dsa.py"><img class="alignright size-medium wp-image-20" style="border: 0px initial initial;" title="DSA Python script preview" src="http://www.litobac.com/wp-content/uploads/2008/04/dsaprv.png" alt="" width="204" height="169" /></a>I&#8217;ve recently had to hastily pass my practical driving test as my theory test certificate was about to expire. It&#8217;s a little well known fact that some areas are well known for their long waiting periods. Hello Isleworth in London. There&#8217;s a 1-2 month waiting list as standard for that test center, which is just too long and would tip me over my theory expiration date.</p>
<p>So I decided to book any date (to have a failsafe, plus a booking reference is required to update a booking), and whip up a little script that logs into the DSA booking service, search for better dates in 2 areas (Ashford and Isleworth for me) and email me if anything good pops up.</p>
<p>The script is written in Python and uses the great BeautifulSoup library. It&#8217;s a little rough around the edges as I didn&#8217;t plan on releasing it, and I&#8217;m certain that the code is nowhere near its potential beauty and elegance. My apologies!</p>
<p>Download: <a href="http://www.litobac.com/wp-content/uploads/2008/04/dsa.py">dsa.py<br />
</a></p>
<p>I haven&#8217;t tested it on Windows (and doubt it would work on it without some tweaking), I&#8217;ve only tested it on Linux and Mac OS. If you need a hand at running it, leave a comment. I found and booked a test in Isleworth that was 10 days away on the 2nd day of running the script.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.litobac.com/2008/04/dsa-practical-driving-test-search-script/feed/</wfw:commentRss>
		<slash:comments>11</slash:comments>
		</item>
	</channel>
</rss>

