void scrapeableFile.setRetainNonTidiedHTML ( boolean retainNonTidiedHTML ) (enterprise edition only)


Set whether or not non-tidied HTML is to be retained for the current scrapeable file.


  • 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 the file is scraped.


Retain Non-tidied HTML

 // In script called "Before file is scraped"

 // Tells screen-scraper to retain tidied HTML for the current
 // scrapeable files.

 scrapeableFile.setRetainNonTidiedHTML( true );

See Also