The invention discloses a webpage crawling method for Web site product information obtaining. First, a home page of first-level classification of site products is subjected to crawling, and by analyzing crawled classification home page source files, a next-level product classification home page link is obtained; then step-by-step crawling is carried out until all classification home pages of a site are subjected to crawling; and by analyzing source files of all classification sub-pages, page turning elements and classification page numbers are obtained, then classification sub-page links are generated, and finally, according to the classification sub-page links, classification sub-page crawling is completed. Meanwhile, by analyzing crawled product classification sub-page source files, product detailed information and classification information of products are extracted, the mapping relation of site product id, classification id and other detailed information is established, and a product information base is established.