add function for parse search page