Class ScraperBuilderExtensions
Inheritance
System.Object
ScraperBuilderExtensions
Namespace: Scraper.Net.Screenshot
Assembly: Scraper.Net.Screenshot.dll
Syntax
public static class ScraperBuilderExtensions : object
Methods
| Improve this Doc View SourceAddScreenshot(ScraperBuilder, Action<ScreenshotterBuilder>, HtmlCssToImageCredentials, Boolean)
Adds a ScreenshotPostProcessor
Declaration
public static ScraperBuilder AddScreenshot(this ScraperBuilder builder, Action<ScreenshotterBuilder> builderAction, HtmlCssToImageCredentials config = null, bool keepReceivedPost = false)
Parameters
Type | Name | Description |
---|---|---|
ScraperBuilder | builder | |
Action<ScreenshotterBuilder> | builderAction | Screenshot-related services factory |
HtmlCssToImageCredentials | config | |
System.Boolean | keepReceivedPost | If set to true, the post processor will return the original post in addition to the processed one |
Returns
Type | Description |
---|---|
ScraperBuilder | A reference to this instance after the operation has completed |