possible to get url where ss is redirected to
Hi,
In the scraper log file you often see a redirection like this:
Hotelgroup site page: Resolved URL: http://marriott.com/property/propertypage/AUAAR
Hotelgroup site page: Sending request.
Hotelgroup site page: Redirecting to: http://www.marriott.com/hotels/travel/auaar-aruba-marriott-resort-and-st...
Is it possible to get that last url, so after the redirection ?
Bye,
Tamara vos
possible to get url where ss is redirected to
tamara,
Call the getCurrentURL method from a script that is called "after file is scraped" for the scrapeable file in question. It should return the resolved URL you are interested in.
http://www.screen-scraper.com/support/docs/api_documentation.php#getCurrentURL
Thanks,
Scott