Click or drag to resize

WebScraperChooseIdentityForRequest Method

Picks a random identity from WebScraper.Identities for each request. Add Identities with proxy IP addresses, userAgents, headers, cookies, username and password in your Init Method and add them to the WebScraper.Identities List;

Override this method to create your own logic for non-random selection of a HttpIdentity for each request.

Namespace:  IronWebScraper
Assembly:  IronWebScraper (in IronWebScraper.dll) Version: 4.0.4.25470 (4.0.4.3)
Syntax
public virtual HttpIdentity ChooseIdentityForRequest(
	Request request
)

Parameters

request
Type: IronWebScraperRequest
The http Request

Return Value

Type: HttpIdentity
An HttpIdentity
See Also