setRetainNonTidiedHTML
void session.setRetainNonTidiedHTML ( boolean retainNonTidiedHTML ) (enterprise edition only)
Description
Set whether or not non-tidied HTML is to be retained for all scrapeable files.
Parameters
- retainNonTidiedHTML Whether the non-tidied HTML should be retained, as a boolean. The default is false.
Return Values
Returns void.
Change Log
Version | Description |
---|---|
4.5 | Available for enterprise edition. |
If, after the file is scraped, you want to be able to use getNonTidiedHTML this method has to be called before a file is scraped.
Examples
Retain Non-tidied HTML
// Tell screen-scraper to retain tidied HTML for the all
// scrapeable files.
session.setRetainNonTidiedHTML( true );
// scrapeable files.
session.setRetainNonTidiedHTML( true );
See Also
- getRetainNonTidiedHTML() [session] - Determine if non-tidied HTML is to be retained for all scrapeable files.
- getNonTidiedHTML() [scrapeableFile] - Retrieve the non-tidied HTML.
- setRetainNonTidiedHTML() [scrapeableFile] - Retain non-tidied HTML for a scrapeable file.
- getRetainNonTidiedHTML() [scrapeableFile] - Determine if non-tidied HTML is being retained by the scrapeable file.
scraper on 07/16/2010 at 4:55 pm
- Printer-friendly version
- Login or register to post comments