%0 Journal Article %T Data Extraction using Content-Based Handles %J Journal of AI and Data Mining %I Shahrood University of Technology %Z 2322-5211 %A Pouramini, A. %A Khaje Hassani, S. %A Nasiri, Sh. %D 2018 %\ 07/01/2018 %V 6 %N 2 %P 399-407 %! Data Extraction using Content-Based Handles %K Web Data Record Extraction %K Web Wrapper Generation %K Web Information Extraction %R 10.22044/jadm.2017.990 %X In this paper, we present an approach and a visual tool, called HWrap (Handle Based Wrapper), for creating web wrappers to extract data records from web pages. In our approach, we mainly rely on the visible page content to identify data regions on a web page. In our extraction algorithm, we inspired by the way a human user scans the page content for specific data. In particular, we use text features such as textual delimiters, keywords, constants or text patterns, which we call handles, to construct patterns for the target data regions and data records. We offer a polynomial algorithm, in which these patterns are checked against the page elements in a mixed bottom-up and top-down traverse of the DOM-tree. The extracted data is directly mapped onto a hierarchical XML structure, which forms the output of the wrapper. The wrappers that are generated by this method are robust and independent of the HTML structure. Therefore, they can be adapted to similar websites to gather and integrate information. %U https://jad.shahroodut.ac.ir/article_990_3d26710f01637300b6a97ff0bf1441ac.pdf