Auto generate extract html