Abstract:According to the characteristics that the input information can be reflected by the textual content ahead of input item, this paper has proposed a method to dynamically fill the form items by parsing them, and solved the problem that how to search multiple web sites with the same type using their own advanced search page. In this paper, book shopping website was chosen as research object. Using the method of dynamically form, some resulting pages can be generated, then it will parse and sort these pages by their weights, and at last display them in the same format. At last, a satisfying result has obtained in the experiment and confirmed the algorithm accuracy, thus it can be used to search multiple websites with the same type, using their own search engine.