Strange question, but is it doable in screen scraper
I am finally working toward an end to the program I have been writing and have a big question. Currently the website I am scraping allows us to put in up to 1000 tracking numbers to track in one session. I currently have all the tracking numbers in a csv file that reads in and loops to the next. Is it possible for screen scraper to read in 1000 tracking numbers vs one by one?
Jason
You mean like
You mean like this:
http://community.screen-scraper.com/API/loadVariables
?
I think that is close. Is
I think that is close. Is there a way to specify only to read in 1000 tracking numbers. The file I have has about 4000 of them in there.
how about a tree structure or a map?
My first guess at this would be to read in a csv file and save that to an array, tree structure, or a map. Then, once you've hit a thousand results, you'd have access to all of those tracking numbers. If you read the .csv in as the first step after your scrape starts then you wouldn't really need to be passing anything in, instead you could save that to the session scope and access it from anywhere in the scrape you need to.
If you are looking for a method inside screen-scraper (other than the one referenced above) to read in a whole list of variables, I don't know of one. I'd just build my variable as I mentioned earlier and iterate over that.
There are a lot of ways to accomplish what you are asking to do if I'm understanding you correctly.
best of luck