screen-scraper public support

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

Help me - i can't import scraping session file into

i can't import scraping session file. Warning "Sorry, import failed, this is could be because .......". What can i do

Running out of Memory

First off, GREAT PRODUCT!! I'm about at the point of needing to upgrade to the professional version, but I have been very impressed thus far.

My issue - I am getting the following error in my log:

Java Exception: class com.ibm.bsf.BSFException Target method exception(java.lang.OutOfMemoryError) message is: nullstack tracejava.lang.OutOfMemoryError

Error: Javascript not enabled

Hi,
I'm trying to scrape the following site (german) for capturing company names in the search results:

Session variable dropped from url

Hi, can't run this one down and would love some help. I'm scraping a password protected site to retrieve pricing information. As part of the log-in, the server generates a unique ID (mscssid) which I scrape and store to a session variable. This variable is then passed in the url for each subsequent request.

inserting into ms Access DB

Hi,
We are trying to run a scraping session and then insert the records into an MS Access database using interpreted java for the scripting.

This is working fine if the session is called from screen scraper. But if th same session is invoked from a Java application, it throws the following error

An error occurred while writing the data to a file: [Microsoft][ODBC Driver Manager] Data source name not found and no default driver specified

selectively applying extractor patterns

I am searching for a particular company in a search results page that has many companies listed. Now, if the company I am looking for is found, then I want to write the extracted company details to a file and exit. If it is not found, I want it to apply an extractor pattern to find the 'NextPage' hyperlink, and if found, follow that link and search in that page again.

Cannot access DATASET via php

$session->getVariable( "DATASET" ) allways returns null.
If I try to get a specific variable thats defined in the extractor pattern, I get that no problem.
In the scrapable file, I checked "automatically save the dataset generated in a session variable..". I also checked "save in session variable" for each token.

I can't seem to find a description of global type variables, so is "DATASET" not the correct spelling, capitalization etc?

Thank you

Chris

Looping a scraping session?

Here is my script to loop my scraping session

counter = "0";

for( int i = 0; i < 10; i++ )

{
runnableScrapingSession = new com.screenscraper.scraper.RunnableScrapingSession( "LoginSession" );

counter = Integer.parseInt( counter ) + 1;
counter = Integer.toString( counter );
runnableScrapingSession.setVariable( "COUNTER", ( counter ) );

runnableScrapingSession.setVariable( "ACCOUNT", ( "user" + counter );

runnableScrapingSession.scrape( "LoginSession" );
}

Error while invoking Session from Java App..

hi
I am trying to invoke the scrapingsession from a java class file...

com.screenscraper.scraper.RemoteScrapingSession scraperSession = new com.screenscraper.scraper.RemoteScrapingSession("Shopping Site");
scraperSession.setVariable("SEARCH","dvd");
scraperSession.setVariable( "PAGE", "1" );
scraperSession.scrape();

but as soon as it encouters the like "scraperSession.setVariable("SEARCH","dvd");"
I get the message ...