Click or drag to resize

WebScraperRequest Method (String, ActionResponse, HttpIdentity, MetaData)

A key method called from with the Init and Parse Methods. Request adds a new request to the scrape-job queue, and decides which method (e.g. Parse) will be used to parse the Response object.

Namespace:  IronWebScraper
Assembly:  IronWebScraper (in IronWebScraper.dll) Version: (
public virtual void Request(
	string url,
	Action<Response> parse,
	HttpIdentity identity = null,
	MetaData metaData = null


Type: SystemString
The absolute url to be fetched. Developers may use Response.ToAbsoluteUrl to resolve all relative links to Absolute Url strings.
Type: SystemActionResponse
The method to be used to parse the Response (often this is WebScraper.Parse)
identity (Optional)
Type: IronWebScraperHttpIdentity
An HttpIdentity to send the Request. If null, the ChooseIdentityForRequest method will be used to find a suitable identity.
metaData (Optional)
Type: IronWebScraperMetaData
Additional information of any Type can be sent with the request and then re-read when the response is parsed .
See Also