parse HTML and get modules