Skip to content

kznmft/webdext

 
 

Repository files navigation

Webdext

Webdext is a Javascript library for web data extraction (web scraping). Currently, it only supports data records extraction from a list page (a web page containing 2 or more data records).

In order to use it, you must run Webdext inside the web page context. There are 2 ways to do that:

  1. Use it as browser extension (currently, I only implemented the Chrome extension)
  2. Inject the script into the web page context using headless browser such as Puppeteer, PhantomJS, or Splash (currently, I only implemented the runner script for PhantomJS)

Check the video below to see how it works as Chrome extension:

DemoVideo

Installation and usage

  1. Chrome Extension
  2. PhantomJS script

Internals

Intelligent extraction algorithm is heavily based on AutoRM [1] and DAG-MTM [2] (not an exact implementation though).

[1]Shengsheng Shi , Chengfei Liu, Yi Shen, Chunfeng Yuan, Yihua Huang. 2015. AutoRM: An effective approach for automatic Web data record mining. Knowledge-Based Systems, 89, 314–331. doi:10.1016/j.knosys.2015.07.012
[2]Shengsheng Shi , Chengfei Liu, Chunfeng Yuan, Yihua Huang. 2014. Multi-feature and DAG-based multi-tree matching algorithm for automatic web data mining. Proceedings of International Joint Conferences on Web Intelligence and Intelligent Agent Technology, 739–755. doi:10.1109/WI-IAT.2014.24

Author

Sigit Dewanto, sigitdewanto11[at]yahoo[dot]co[dot]uk

About

Intelligent Web Data Extractor

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • HTML 72.8%
  • JavaScript 22.1%
  • CSS 5.1%