screen-scraper public support

Questions and answers regarding the use of screen-scraper. Anyone can post. Monitored occasionally by screen-scraper staff.

Bug in 2.7.2 Scripting

I'm having problems with scripts in screen-scraper pro when creating a new script:

1- paste script code in the text box by using the "copy" command (PASS)
2- give a name to the script (PASS)
3- save eveything by pressing the save icon (PASS)
4- click on RUN (FAIL) --> no effect at all. it is like the script had no code in it.

I believe there is a bug because when I do not perform 4- but click on any other icons (e.g. scraping session) and then come back to the script window, the code has disappeared from the Script text window.

Version 2.7.2 of screen-scraper available

Hi all,

Version 2.7.2 is just a minor bug fix release, but anyone invoking screen-scraper from the command line should upgrade. Somehow a semi-critical bug slipped through our radar on the 2.7 release. In 2.7, if you have the workbench open, then run screen-scraper from the command line, when the command line instance ends it will close screen-scraper's database, leaving the workbench without a way to save any of its information. It wouldn't lead to database corruption or anything like that, but could get pretty annoying.

Best wishes,

Todd Wilson

Text File Column Headers

Sorry if this has already been discussed....but I couldn't find it anywhere.

Is there a way to get the tokens used in the "write info to file" script to act as headers for the .txt file.

For example....in the script used to write a scrape to a .txt file I have the following

// Write out the data to the file.
out.write( dataRecord.get( "INFO_COL1" ) + "\t" );
out.write( dataRecord.get( "INFO_COL2" ) + "\t" );

Help Scraping Similar Tables by Name

Hi, I am new to the SS software. On my target page there are two tables of similar structure, I would like to grab them individually and post the rows held within them to separate files.

New screen-scraper tutorial available

Hi all,

We've just released a new screen-scraper tutorial: http://community.screen-scraper.com/Tutorial_7_Page_1. It's just received the blessing from our project manager and aspiring professional writer/editor, Jason Bellows, so it should be ready for public consumption.

Here's a snippet from the tutorial introduction:

n/a

Web page will not display

When I turn on the proxy settings in IE the web page I want to scrape will not display. I get the message "The page cannot be displayed
The page you are looking for is currently unavailable. The Web site might be experiencing technical difficulties, or you may need to adjust your browser settings. ". If I click the refresh button I do get the certificate warning, but pressing OK still will not load the page. Screen-Scraper records the request, but not the response. Is there any way around this?

Multiple Sessions

I am trying to scrape data from a website using VBA. The website requires me to login, perform a search and then the results are displayed, limited to so many records a page. I have set up 3 scraping sessions to handle the login, search and logout (there is a unique session reference that is generated each visit and this is used to make up the URL - I don't want to login every time I need to scrape the next page of results), but I am having no luck.

The following is my code: -

Question about subexpressions

Hi,
I would like to identify a region of a page, then use subexpressions to extract informtion. The problem I'm running into is that the only way to identify reliably the beginning of the first subexpression, or cometimes the ending of the last, is to use the same beginning and ending expressions used to identify the page region in the first place.
Is there some way to have all the matched text from the main expression, rather than only the text in between the beginning and ending patterns, passed to the subexpressions for parsing?
Thanks.

n/a