Is there a way to reset to the initial HTTP state, just as it was before any scrapeable files are run within a scraping session?
I can't think of an easy way to do that. In your case, would it make sense to spawn a new scrape? You could use runnableScrapingSession for that, and each new spawn would start fresh.
One possibility would be to call session.clearCookies() and scrapeableFile.setReferer("").
I can't think of an easy way
I can't think of an easy way to do that. In your case, would it make sense to spawn a new scrape? You could use runnableScrapingSession for that, and each new spawn would start fresh.
One possibility would be to
One possibility would be to call session.clearCookies() and scrapeableFile.setReferer("").