On Mon, Mar 16, 2009 at 12:35 AM, Stuart Grimshaw <[email protected]> wrote: > self.dom = html.parse(r.read())
This is where the problem was, it should be :- self.dom = html.fromstring(r.read()) Thanks to Michael, looking at the error you posted made me run it from the console instead of Textmate, which is where I noticed it was trying to load a file, and funnily enough it couldn't find a file named the whole contents of the html page :-) -- -S Follow me on Twitter: http://twitter.com/stubbs Blog: http://stubblog.wordpress.com My art: http://stuartgrimshaw.imagekind.com Stock Images: http://psc.photoshelter.com/user/stuartgrimshaw --~--~---------~--~----~------------~-------~--~----~ To post: [email protected] To unsubscribe: [email protected] Feeds available at http://groups.google.com/group/python-north-west/feeds For more options: http://groups.google.com/group/python-north-west -~----------~----~----~----~------~----~------~--~---
