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: (
public virtual HttpIdentity ChooseIdentityForRequest(
	Request request


Type: IronWebScraperRequest
The http Request

Return Value

Type: HttpIdentity
An HttpIdentity
See Also