Which file in the screen-scraper folder stores changes
Hello,
I observed there has been a change in the navigation of the links of a website I once scraped. I have made changes to this effect, but I need to know the right files to copy down since the screen-scraper is used externally. I followed one of the topics in the forum and copied the content of the files that are in the 'resources/db' directory but my changes is not reflecting. What am I doing wrongly?
Thanks.
dapor, You'll notice that the
dapor,
You'll notice that the folders in the backup folder are date stamped. Is it possible that your changes are older than the oldest backup available?
The preferred way to archive and restore scraping sessions is to export them from the workbench as .sss files. When you do this, all scrapeablefiles and scripts being used by your scraping session will export as well*. To restore from a .sss file either import it into the workbench, place it in screen-scraper's import folder then restart screen-scraper's server or workbench, or import if from the web interface if you're using enterprise edition.
*There is one exception when exporting. Any scripts being called exclusively from within another script using the session.executeScript() method will not be exported. In cases like this we recommend that you include the script under your scraping session but disable it. Then it will export.
-Scott