<br><br><div class="gmail_quote"><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">------------------------------<br>
<br>
Message: 4<br>
Date: Wed, 4 Jun 2008 10:00:46 -0400<br>
From: James &lt;<a href="mailto:jtp@nc.rr.com">jtp@nc.rr.com</a>&gt;<br>
Subject: [Tutor] Grabbing data from changing website<br>
To: <a href="mailto:tutor@python.org">tutor@python.org</a><br>
Message-ID:<br>
 &nbsp; &nbsp; &nbsp; &nbsp;&lt;<a href="mailto:e107b4ff0806040700o33b1f221y2d8a6ba24ed9d55e@mail.gmail.com">e107b4ff0806040700o33b1f221y2d8a6ba24ed9d55e@mail.gmail.com</a>&gt;<br>
Content-Type: text/plain; charset=ISO-8859-1<br>
<br><br>&gt;&gt;urllib2 will grab the HTML. BeautifulSoup will parse it and allow<br>&gt;&gt;fairly easy access. My writeup on each:</blockquote><div>&nbsp;</div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
I&#39;ll second Kent&#39;s vote for BeautifulSoup.</blockquote><div>I had never done any web programming, but using BS I quickly wrote a small program that downloads an image from a site.<br>The image changes daily, and the filename &amp; directory are obviously unique. BS made it very easy.<br>
</div></div><br>