Darmawan, Irfan and Maulana, Muhamad and Gunawan, Rohmat and Widiyasono, Nur (2022) Evaluating Web Scraping Performance Using XPath, CSS Selector, Regular Expression, and HTML DOM With Multiprocessing Technical Applications. JOIV.
Text
10a_Artikel_Evaluating Web Scraping Performance_Des 2022.pdf Download (3MB) |
|
Text
10b-Koresponding_Evaluating Web Scraping Performance.pdf Download (52kB) |
|
Text
10c_Similariti_Evaluating_Web_Scraping_Performance.pdf Download (2MB) |
Abstract
Abstract— Data collection has become a necessity today, especially since many sources of data on the internet can be used for various needs. The main activity in data collection is collecting quality information that can be analyzed and used to support decisions or provide evidence. The process of retrieving data from the internet is also known as web scraping. There are various methods of web scraping that are commonly used. The amount of data scattered on the internet will be quite time-consuming if the web scraping is done on a large scale. By applying the parallel concept, the multi-processing approach can help complete a job. This study aimed to determine the performance of the web scraping method with the application of multi-processing. Testing is done by doing the process of scraping data from a predetermined target web. Four web scraping methods: CSS Selector, HTML DOM, Regex, and XPath, were selected to be used in the experiment measured based on the parameters of CPU usage, memory usage, execution time, and bandwidth usage. Based on experimental data, the Regex method has the least CPU and memory usage compared to other methods. While XPath requires the least time compared to other methods. The CSS Selector method is the smallest in terms of bandwidth usage compared to other methods. The application of multi-processing techniques to each web scraping method is proven to save memory usage, reduce execution time and reduce bandwidth usage compared to only using single processing. Keywords— Multiprocessing; scraping; website; HTML DOM.
Item Type: | Article |
---|---|
Subjects: | T Technology > T Technology (General) |
Divisions: | Fakultas Teknik > Informatika > Artikel Dosen Informatika |
Depositing User: | Lelis Masridah |
Date Deposited: | 28 Jun 2023 05:05 |
Last Modified: | 28 Jun 2023 05:05 |
URI: | http://repositori.unsil.ac.id/id/eprint/9585 |
Actions (login required)
View Item |