python html parser, gets links and metatags