Very dirty code of downloading hrefs values