Litcius/Paper detail

A Novel Web Scraping Approach Using the Additional Information Obtained From Web Pages

Erdinç Uzun

2020IEEE Access93 citationsDOIOpen Access PDF

Abstract

Web scraping is a process of extracting valuable and interesting text information from web pages. Most of the current studies targeting this task are mostly about automated web data extraction. In the extraction process, these studies first create a DOM tree and then access the necessary data through this tree. The construction process of this tree increases the time cost depending on the data structure of the DOM Tree. In the current web scraping literature, it is observed that time efficiency is ignored. This study proposes a novel approach, namely UzunExt, which extracts content quickly using the string methods and additional information without creating a DOM Tree. The string methods consist of the following consecutive steps: searching for a given pattern, then calculating the number of closing HTML elements for this pattern, and finally extracting content for the pattern. In the crawling process, our approach collects the additional information, including the starting position for enhancing the searching process, the number of inner tag for improving the extraction process, and tag repetition for terminating the extraction process. The string methods of this novel approach are about 60 times faster than extracting with the DOM-based method. Moreover, using these additional information improves extraction time by 2.35 times compared to using only the string methods. Furthermore, this approach can easily be adapted to other DOM-based studies/parsers in this task to enhance their time efficiencies.

Topics & Concepts

Document Object ModelComputer scienceString (physics)Tree (set theory)Process (computing)Task (project management)Web pageCrawlingData miningParsingInformation extractionHTML elementWeb crawlerInformation retrievalClosing (real estate)Artificial intelligenceWorld Wide WebMathematicsOperating systemLawAnatomyPolitical scienceMathematical physicsEconomicsMathematical analysisMedicineManagementWeb Data Mining and AnalysisAdvanced Malware Detection TechniquesWeb Application Security Vulnerabilities
A Novel Web Scraping Approach Using the Additional Information Obtained From Web Pages | Litcius