Interface InternalScrapingOptions

The internal options of the scraper's scraping. Used internally.

Hierarchy

  • InternalScrapingOptions

Properties

audio: boolean

If true, the audio will be recorded. (Default value: true)

audioBitsPerSecond?: number

The chosen bitrate for the audio component of the media. If not specified, it will be adaptive, depending upon the sample rate and the number of channels. (Default value: undefined)

debug: null | boolean

If null, the debug will be shown by looking at the passed BrowserOptions. Otherwise, if useGlobalDebug is false, this specifies if the debug will be shown.

debugScope: null | string

If useGlobalDebug is true, this will be ignore. Otherwise, this specifies if the euberlog logger scope for the debug of this scrape.

delayAfterVideoFinished: number

The delay in milliseconds after that the duration milliseconds are past and before that the recording is stopped. (Default value: 15_000)

delayAfterVideoStarted: number

The delay in milliseconds after that the play button has been clicked. (Default value: 0)

duration: null | number

The duration in milliseconds of the recorded video. The recording starts delayAfterVideoStarted milliseconds after that the play button has been clicked and finishes delayAfterVideoFinished milliseconds after that this duration has passed. If the value is null, the duration will be automatically gotten by looking at the page's video duration. (Default value: null)

frameSize?: number

The number of milliseconds to record into each packet. (Default value: 20)

fullScreen: boolean

If true, the video will be recorded after having put it on fullscreen. (Default value: false)

mimeType: BrowserMimeType

The mimetype of the recorded video or audio. (Default value: 'video/webm')

useGlobalDebug: boolean

If true, the global logger will be used, ignoring other debug options in this object. (Default value: true)

video: boolean

If true, the video will be recorded. (Default value: true)

videoBitsPerSecond?: number

The chosen bitrate for the video component of the media. If not specified, the rate will be 2.5Mbps. (Default value: undefined)

Generated using TypeDoc