screen-scraper public support
Weirdest problem using extracted data
Dear All:
I've successfully extracted data from a URL, but now I am trying to pass it as a parameter to another URL, but instead of the value I am getting: com.screenscraper.common.DataSet@1031b7c (1031b7c is different every time, I suspect it's a memory location.
What am I doing wrong. Below is the log, I just used Google as the next URL for simplicity.
Any help is greatly appreciated.
Is there a way to export from "GUI" to let's say Java ?
Hi all,
It's been a while I'm working on the basic edition of Screen-scraper. I'm planning to buy the entreprise version, but I want to switch to the "programming" side, using the scrape engine inside my own application.
My question is: since it's been a while I'm working with the basic edition and I've got a lot a work done, is there a way to export work I've done with the basic edition, the sessions, scripts, etc. So I could use it in the entreprise edition inside a Java environment for example ?
Thanks !
C# tutorial example
Hi, thanks to timv for the help on my previous posts, everything now works there :)
I am trying to make my C# code invoke various scraping sessions and have implemented the skeleton code given from this site. My program seems to be upset by the line
DataSet odds = (DataSet)remoteScrapingSession.GetVariable("football extractor");
where football extractor is the name of the extractor pattern I'm using on this particular scrapable file. The error message I'm getting is
"Unable to cast object of type System.String to type 'Screenscraper.DataSet'"
Using variable on next script in same session
Hi i am scraping a site but getting the following error like this:
where to scrape ajax innerHTML?
I'm trying to scrape a branch locator site, the returns results using ajax to replace the contents of a span tag
https://www.bankofthewest.com/BOW/assets/vcmStaticContent/BOW%20Internet...
Any clues where I should begin?
TIA
Eric
Math operations
Hi, my data is in the form: name1 name 2 5 7 8 9 2 3
where the numbers are stored in sessions variables LEFT_NUM1, RIGHT_NUM1....LEFT_NUM2, RIGHT_NUM2....LEFT_NUM3, RIGHT_NUM3...
Is there a way I can divide left by right, and just have it output the one number, i.e. so the file would read name1 name2 0.4 ....etc
I've tried things like
left=dataRecord.get( "LEFT_NUM1" );
right=dataRecord.get("RIGHT_NUM2);
number=left/right;
out.write(number);
but to no avail, anyone know how I can do this?
Thanks
Write script trouble
Hi,
I'm having a little trouble with a few things on my write to file script, firstly despite me having
out.write( "\n" );
I don't seem to be getting a new line in my .txt file, just a space equivalent to a tab.
Also I'm trying to implement an if-else loop like:
if(dataRecord.get( "LAYO" )= "-") {out.write( "0.00");}
else{out.write( dataRecord.get( "LAYO" ) + "\t" );}
Help with dataSet.deleteDataRecordin JAVA
I am needing some help with some syntax in JAVA. I am getting some stuff in my dataset that I don't want. It makes my import break when the text file goes into my database. I want to be able search for string of text in my dataset and if that string is present I will delete the that dataset before I write out my CSV file
IF
string in dataset= "stringidonotwant"
THEN
getdatarecordnumber
dataSet.deleteDataRecord( dataRecordNumber );
END IF
Can anyone help?
Support for Korean language characterset
Can anyone tell me whether ss supports the capturing of Korean alphabet characters?
The page I'm trying to scrape contains these, however I only seem to get lot's of ????'s where the Korean characters ought to be.
Any ideas?
Thanks
jt