Archives Aug. 23, 2004
The secret: twisted.web.client.getPage(url) handles SSL (https://) protocols automatically. Nothing I could find in the documentation mentions that. There are references to the ContextFactory, but nothing is mentioned about whether you need to pass one in or not (you don't). So, a simple script to download an SSL page with Twisted looks something like this:
Rosey went to Canadian Tire to pick up some lamps (her room and the living room are unlivably dark (I get horribly depressed when it's always dark)). Apparently she didn't have time to find any lamps she liked, but she did pick up a replacement bulb for my big halogen floor lamp.
That lamp almost ...!-->!-->
Tim came by and we discussed the EFT server project for an hour or so (I am so not looking forward to that project now). After that we switched to discussing the MediaCorp page-checker project, much better specified (i.e. at least minimally specified).
Spent a solid 7 hours on that, with the result being a ...!-->!-->