Skip to content

erikrose/fathom

 
 

Repository files navigation

Fathom

Fathom is a JavaScript framework for extracting meaning from web pages, identifying parts like Previous/Next buttons, address forms, and the main textual content—or classifying a page as a whole. Essentially, it scores DOM nodes and extracts them based on conditions you specify. A Prolog-inspired system of types and annotations expresses dependencies between scoring steps and keeps state under control. It also provides the freedom to extend existing sets of scoring rules without editing them directly, so multiple third-party refinements can be mixed together.

Continue reading at https://mozilla.github.io/fathom/intro.html#why.

About

An ML-optimized data-flow language for extracting meaning from web pages

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • HTML 86.7%
  • JavaScript 13.2%
  • Makefile 0.1%