Uses of Class
us.codecraft.webmagic.Page
Packages that use Page
Package
Description
Main class "Spider" and models.
Downloader is the part that downloads web pages and store in Page object.
Page model and annotations used to customize a crawler.
PageProcessor custom part of a crawler for specific site.
-
Uses of Page in us.codecraft.webmagic
Methods in us.codecraft.webmagic that return PageModifier and TypeMethodDescriptionstatic Page
Page.fail()
Deprecated.static Page
Deprecated, for removal: This API element is subject to removal in a future version.UseofFailure(Request)
instead.static Page
static Page
Page.setRawText
(String rawText) Page.setSkip
(boolean skip) Methods in us.codecraft.webmagic with parameters of type PageModifier and TypeMethodDescriptionprotected void
Spider.extractAndAddRequests
(Page page, boolean spawnUrl) -
Uses of Page in us.codecraft.webmagic.configurable
Methods in us.codecraft.webmagic.configurable with parameters of type Page -
Uses of Page in us.codecraft.webmagic.downloader
Methods in us.codecraft.webmagic.downloader that return PageModifier and TypeMethodDescriptionDownloads web pages and store in Page object.protected Page
HttpClientDownloader.handleResponse
(Request request, String charset, org.apache.http.HttpResponse httpResponse, Task task) Methods in us.codecraft.webmagic.downloader with parameters of type Page -
Uses of Page in us.codecraft.webmagic.downloader.selenium
Methods in us.codecraft.webmagic.downloader.selenium that return Page -
Uses of Page in us.codecraft.webmagic.example
Methods in us.codecraft.webmagic.example with parameters of type Page -
Uses of Page in us.codecraft.webmagic.handler
Methods in us.codecraft.webmagic.handler with parameters of type PageModifier and TypeMethodDescriptionvoid
SubPageProcessor.processPage
(Page page) process the page, extract urls to fetch, extract the data and store -
Uses of Page in us.codecraft.webmagic.model
Methods in us.codecraft.webmagic.model with parameters of type Page -
Uses of Page in us.codecraft.webmagic.model.samples
Methods in us.codecraft.webmagic.model.samples with parameters of type PageModifier and TypeMethodDescriptionvoid
DianpingFtlDataScanner.afterProcess
(Page page) void
OschinaAnswer.afterProcess
(Page page) -
Uses of Page in us.codecraft.webmagic.model.sources
Methods in us.codecraft.webmagic.model.sources with parameters of type PageModifier and TypeMethodDescriptionSource.DefaultSource.getText
(Page page, String html, boolean isRaw, FieldExtractor fieldExtractor) Source.getText
(Page page, String html, boolean isRaw, FieldExtractor fieldExtractor) Source.RawHtml.getText
(Page page, String html, boolean isRaw, FieldExtractor fieldExtractor) Source.RawText.getText
(Page page, String html, boolean isRaw, FieldExtractor fieldExtractor) Source.SelectedHtml.getText
(Page page, String html, boolean isRaw, FieldExtractor fieldExtractor) Source.Url.getText
(Page page, String html, boolean isRaw, FieldExtractor fieldExtractor) static PageField
SourceTextExtractor.getText
(Page page, String html, boolean isRaw, FieldExtractor fieldExtractor) Source.DefaultSource.getTextList
(Page page, String html, boolean isRaw, FieldExtractor fieldExtractor) Source.getTextList
(Page page, String html, boolean isRaw, FieldExtractor fieldExtractor) Source.RawHtml.getTextList
(Page page, String html, boolean isRaw, FieldExtractor fieldExtractor) Source.RawText.getTextList
(Page page, String html, boolean isRaw, FieldExtractor fieldExtractor) Source.SelectedHtml.getTextList
(Page page, String html, boolean isRaw, FieldExtractor fieldExtractor) Source.Url.getTextList
(Page page, String html, boolean isRaw, FieldExtractor fieldExtractor) -
Uses of Page in us.codecraft.webmagic.processor
Methods in us.codecraft.webmagic.processor with parameters of type Page -
Uses of Page in us.codecraft.webmagic.processor.example
Methods in us.codecraft.webmagic.processor.example with parameters of type Page -
Uses of Page in us.codecraft.webmagic.proxy
Methods in us.codecraft.webmagic.proxy with parameters of type PageModifier and TypeMethodDescriptionvoid
ProxyProvider.returnProxy
(Proxy proxy, Page page, Task task) Return proxy to Provider when complete a download.void
SimpleProxyProvider.returnProxy
(Proxy proxy, Page page, Task task) -
Uses of Page in us.codecraft.webmagic.samples
Methods in us.codecraft.webmagic.samples with parameters of type PageModifier and TypeMethodDescriptionvoid
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
-
Uses of Page in us.codecraft.webmagic.samples.scheduler
Methods in us.codecraft.webmagic.samples.scheduler with parameters of type Page -
Uses of Page in us.codecraft.webmagic.scripts
Methods in us.codecraft.webmagic.scripts with parameters of type Page -
Uses of Page in us.codecraft.webmagic.scripts.languages
Methods in us.codecraft.webmagic.scripts.languages with parameters of type PageModifier and TypeMethodDescriptionvoid
Javascript.process
(ScriptEngine engine, String defines, String script, Page page) void
JRuby.process
(ScriptEngine engine, String defines, String script, Page page) void
Jython.process
(ScriptEngine engine, String defines, String script, Page page) abstract void
Language.process
(ScriptEngine engine, String defines, String script, Page page)
fail(Request)
instead.