Class InfoQMiniBookProcessor

java.lang.Object
us.codecraft.webmagic.samples.InfoQMiniBookProcessor
All Implemented Interfaces:
PageProcessor

public class InfoQMiniBookProcessor extends Object implements PageProcessor
Author:
code4crafter@gmail.com
  • Constructor Details

    • InfoQMiniBookProcessor

      public InfoQMiniBookProcessor()
  • Method Details

    • process

      public void process(Page page)
      Description copied from interface: PageProcessor
      Processes the page, extract URLs to fetch, extract the data and store.
      Specified by:
      process in interface PageProcessor
      Parameters:
      page - page
    • getSite

      public Site getSite()
      Description copied from interface: PageProcessor
      Returns the site settings.
      Specified by:
      getSite in interface PageProcessor
      Returns:
      site
      See Also:
    • main

      public static void main(String[] args)