Return None if end line if data is not found, adjusted sample html file