scrapeableFile
getCurrentURL
Description
Get the URL of the file.
Parameters
This method does not receive any parameters.
Return Values
Returns the URL of the scrapeable file, as a string. If called after the file has been scraped the session variable tokens will be resolved to their values; otherwise, the tokens will simply be removed from the string.
getCurrentPOSTData
Description
Retrieve the POST data.
Parameters
This method does not receive any parameters.
Return Values
Returns the POST data for the scrapeable file, as a string. If called after the file has been scraped the session variable token will be resolved to their values; otherwise, the tokens will simply be removed from the string.
getContentAsString
Description
Retrieve contents of the response.
Parameters
This method does not receive any parameters.
Return Values
Returns contents of the last response, as a string. If the file has not been scraped it will return an empty string.
extractOneValue
String scrapeableFile.extractOneValue ( String text, String extractorPatternName, String extractorTokenName ) (professional and enterprise editions only)
extractData
Description
Manually apply an extractor pattern to a string.
removeHTTPParameter
void scrapeableFile.removeHTTPParameter ( String key ) (professional and enterprise editions only)
Description
Dynamically removes an HTTPParameter. The order of the remaining parameters are adjusted immediately.
addHTTPParameter
Description
Dynamically add an HTTPParameter to the current scrapeable file.
Parameters
- parameter HTTPParameter object.
Return Values
Returns void.