getNumRecordsScraped
int session.getNumRecordsScraped ( ) (enterprise edition only)
Description
Get the number of records that have been scraped.
Parameters
This method does not receive any parameters.
Return Values
Returns number of records scraped, as a integer.
Change Log
Version | Description |
---|---|
4.5 | Available for enterprise edition. |
Examples
Write Number of Records Scraped to Log
// Outputs the number of records that have been scraped to the log.
session.log( "Num records scraped so far: " + session.getNumRecordsScraped() );
session.log( "Num records scraped so far: " + session.getNumRecordsScraped() );
See Also
- setNumRecordsScraped() [session] - Set record of how many records have been scraped.
- addToNumRecordsScraped() [session] - Add to record of how many records have been scraped.
- resetNumRecordsScraped() [session] - Sets the number of scraped records to zero
scraper on 07/16/2010 at 4:54 pm
- Printer-friendly version
- Login or register to post comments