setReferer
| scrapeableFile.setReferer( String url ) (professional and enterprise editions only) |
| Description |
| Dynamically sets the HTTP header referer for the current scrapeable file. This method must be called before the file is scraped. That is, the script calling this method should be associated with the scrapeable file, and should be invoked "Before file is scraped". |
 |
| Example |
// Sets the value of url as the HTTP header // referer for the current scrapeable file. import java.net.URL;
URL url = new URL( "http://www.foo.com/" ); scrapeableFile.setReferer( url ); |
|
|
Recent comments
15 hours 19 min ago
15 hours 36 min ago
16 hours 24 min ago
16 hours 32 min ago
16 hours 42 min ago
16 hours 52 min ago
2 days 13 hours ago
3 days 19 hours ago
3 days 19 hours ago
5 days 16 hours ago