session

Scraping Session

setExternalNTProxyUsername

void session.setExternalNTProxyUsername ( String username )

Description

Manually set external NT proxy username.

Parameters

  • username Username for the external NT proxy, as a string.

Return Values

Returns void.

setExternalProxyPort

void session.setExternalProxyPort ( String port )

Description

Manually set external proxy port.

Parameters

  • port Port for the external proxy, as a string.

Return Values

Returns void.

setExternalProxyHost

void session.setExternalProxyHost ( String host )

Description

Manually set external proxy host/domain.

Parameters

  • host Host/domain for the external proxy, as a string.

Return Values

Returns void.

setExternalProxyPassword

void session.setExternalProxyPassword ( String password )

Description

Manually set external proxy password.

Parameters

  • password Password for the external proxy, as a string.

Return Values

Returns void.

setExternalProxyUsername

void session.setExternalProxyUsername ( String username )

Description

Manually set external proxy username.

Parameters

  • username Username for the external proxy, as a string.

Return Values

Returns void.

getMaxConcurrentFileDownloads

int session.getMaxConcurrentFileDownloads ( ) (professional and enterprise editions only)

Description

Retrieve the maximum number of concurrent file downloads being allowed.

Parameters

This methods does not receive any parameters.

Return Values

Returns the max number of concurrent file downloads allowed, as an integer.

setMaxConcurrentFileDownloads

void session.setMaxConcurrentFileDownloads ( int maxConcurrentFileDownloads ) (professional and enterprise editions only)

Description

Set the maximum number of concurrent file downloads to a allow.

getCharacterSet

String session.getCharacterSet ( )

Description

Get the general character set being used in page response renderings.

Parameters

This method does not receive any parameters.

Return Values

Returns the character set applied to the scraping session's files, as a string. If a character set has not been specified then it will default to the character set specified in settings dialog box.

logVariables

void session.logVariables ( ) (professional and enterprise editions only)

Description

Write all session variables to log.

Parameters

This method does not receive any parameters.

Return Values

Returns void.

getScrapeableSessionID

int session.getScrapeableSessionID ( ) (enterprise edition only)

Description

Get the unique identifier for the scraping session.

Parameters

This method does not receive any parameters.

Return Values

Returns unique session id for the scraping session, as an integer.