add parse main page code