In the era of digital economy,data is an important resource endowment,and efficient data collection and processing capabilities are crucial,especially for specific data collection and processing according to needs.Based on R language environment,using RVEST toolkit,taking second-hand house data as an example,the auto-matic realization of data acquisition is discussed.The design of data acquisition system covers the acquisition of city link on second-hand housing website,the extraction of second-hand housing list data,the extraction,preservation and cleaning of second-hand housing details data,and the testing of automatic collection process in single thread and multi-thread environment.In the practice of data acquisition and processing,the scheme can provide a valua-ble reference for the capture of other chart types of data.