getName
String session.getName ( )
Description
Get the name of the current scraping session.
Parameters
This method does not receive any parameters.
Return Values
Returns the name of the scraping session, as a string.
Change Log
Version | Description |
---|---|
4.5 | Available for all editions. |
Examples
Write Scraping Session Name to Log
// Outputs the name of the scraping session to the log.
session.log( "Current scraping session: " + session.getName() );
session.log( "Current scraping session: " + session.getName() );
scraper on 07/16/2010 at 4:54 pm
- Printer-friendly version
- Login or register to post comments