Package ai.platon.pulsar.common.options
See: Description
-
Annotation Summary Annotation Description ApiPublic -
Class Summary Class Description CommonOptions Created by vincent on 17-4-12. CommonUrlNormalizer DurationConverter Created by vincent on 17-4-7. InstantConverter PairConverter BrowserTypeConverter FetchModeConverter ItemExtractorConverter WeightedKeywordsConverter Created by vincent on 17-4-7. IntRangeConverter DimensionConverter ConditionConverter FetchOptions GenerateOptions InjectOptions Command options for inject tasks. LinkOptions Created by vincent on 17-3-18. LoadOptions LoadOptions can represent the controling arguments which effects how we load a webpage:
NOTICE: every option with name// fetch only when after 1d since last fetch session.load('https://www.jd.com', '-expires 1d') // fetch now ignoring errors session.load('https://www.jd.com', '-refresh') // do not fetch after dead time session.load('https://www.jd.com', '-deadTime 2022-04-15T18:36:54.941Z') // activate the parse phrase session.load('https://www.jd.com', '-parse') // write the page content into storage session.load('https://www.jd.com', '-storeContent')optionNamehas to take a Parameter name -optionName.PulsarOptions Created by vincent on 17-4-12. -
Enum Summary Enum Description ItemExtractor Condition