Package us.codecraft.webmagic.model
package us.codecraft.webmagic.model
Page model and annotations used to customize a crawler.
-
ClassDescriptionInterface to be implemented by page models that need to do something after fields are extracted.Print page model in console.
Usually used in test.The object contains 'ExtractBy' information.Wrapper of field and extractor.Interface to be implemented by page mode.
Can be used to identify a page model, or be used as name of file storing the object.OOSpider<T>The spider for page model extractor.
In webmagic, we call a POJO containing extract result as "page model".PageMapper<T>