stopScraping
void session.stopScraping ( )
Description
Stop the current scraping session.
Parameters
This method does not receive any parameters.
Return Values
Returns void.
Change Log
Version | Description |
---|---|
4.5 | Available for all editions. |
Examples
Stop Scrape on Scrapeable File Request Error
// Stops scraping if an error response was received
// from the server.
if( scrapeableFile.wasErrorOnRequest() )
{
session.stopScraping();
}
// from the server.
if( scrapeableFile.wasErrorOnRequest() )
{
session.stopScraping();
}
scraper on 07/16/2010 at 4:55 pm
- Printer-friendly version
- Login or register to post comments