Porting widgets using urllib