scrapeableFile
setForcePOST
Description
Determines whether or not a POST request should be forced.
Parameters
- forcePOST Whether a POST
Return Values
Returns void.
setForcedRequestType
Description
Sets the request type to use.
getRedirectURLs
Description
Gets an array of strings containing the redirect URL's for the current scrapeable file request attempt.
Parameters
This method does not receive any parameters.
Return Values
Returns the array of strings; may be empty.
setLastScrapedData
Description
Overwrite the content of the "last response"
Parameters
- String Desired new content of the last response
Return Values
Returns void.
getRetryPolicy
Description
Returns the retry policy. Note that in any 'After file is scraped' scripts this is null
Parameters
This method takes no parameters.
Return Value
The Retry Policy that will be used by this scrapeable file
setRetryPolicy
Description
getHTTPResponseHeader
Description
Gets the value of the header in the response of the scrapeable file, or returns null if it couldn't be found
Parameters
- header The header name (case-insensitive) to get
getHTTPResponseHeaders
Description
Gets the headers of the HTTP Response as a map, and returns them.
Parameters
This method takes no parameters
Return Value
A Map from header name to header value for the response headers.
scrapeableFile
Changes to scrapeableFile
getASPXValues
Description
Gets the ASPX .NET values from the string. The standard values are __VIEWSTATE, __EVENTTARGET, __EVENTVALIDATION, and __EVENTARGUMENT. Values will be stored in the returned DataRecord as ASPX_VIEWSTATE, ASPX_EVENTTARGET, etc...