Parse HTML to send to database