Scale Intelligence■ Docs
Docs / The model / ScrapeRequest

ScrapeRequest.

Arbitrary scraping as data: a scope, an extraction of fields or a schema for the model-assisted reader, the source object the rows become, a resource filter, a held identity and a proxy policy

Figure 1ScrapeRequestspecified
SCRAPEREQUESTvalue at none scopean extraction template; any of its parts may be overridden belowtemplateidoptionalrequired when no templatescopeCrawlScopeoptionaldeclared selectorsfields[FieldSpec]optionalfor the model-assisted reader, every value with its evidence span or refusedschemajsonoptionaldeclared inline for one scrape, or a registered rowsource_objectSourceObjectmappingMappingoptionalfilterResourceFilteras_identityidoptionalproxy_policyProxyPolicyoptionalcredit_cells[id]optionalwho asked for the run, as the caller's kind, or the crawler for an address a walk found; the beat takes what a person or the agent asked before the crawler's own discoveries, oldest first within eachasked_bytextoptionalCRAWLSCOPEthrough scopeFIELDSPECthrough fieldsSOURCEOBJECTthrough source_objectMAPPINGthrough mappingRESOURCEFILTERthrough filterPROXYPOLICYthrough proxy_policy
ScrapeRequest is a value at none scope. The drawing shows its fields and the objects that they point at.
kind
value
scope
none
key
none
store
none
family
sources

Fields#

fieldtyperequirednote
templateidnoan extraction template; any of its parts may be overridden below
scopeCrawlScopenorequired when no template
fieldsFieldSpecnodeclared selectors
schemajsonnofor the model-assisted reader, every value with its evidence span or refused
source_objectSourceObjectyesdeclared inline for one scrape, or a registered row
mappingMappingno
filterResourceFilteryes
as_identityidno
proxy_policyProxyPolicyno
credit_cells[id]no
asked_bytextnowho asked for the run, as the caller’s kind, or the crawler for an address a walk found; the beat takes what a person or the agent asked before the crawler’s own discoveries, oldest first within each

Routes that use it#