TI-35 SLR 1 Posted November 14, 2011 Report Share Posted November 14, 2011 Hello. I am working on scraper that takes some information by grabbing lists and putting them into columns in a table. For some reason, when I use the "add list to table Column" command, it puts quotes around the list and inserts it into one cell. Is this normal, and I have to insert each line of the list into each cell by using a loop, or is the command made to put it down the list column. The later seems to make more sense it asks for "Starting" row and column. Thanks from a newbie. navigate("http://www.contestgirl.com/contests/contests.pl?f=d&c=ca&b=nb", "Wait") set(#Table Line, 1, "Global") clear table(&Data) clear list(%Daily Contest Girl) add item to list(%Daily Contest Girl, $scrape attribute(<outerhtml=w"<a href=\"http://*\" target=\"_blank\" rel=\"nofollow\">*</a>">, "href"), "Delete", "Global") add list to table as column(&Data, 0, 0, %Daily Contest Girl) save to file("C:\\Documents and Settings\\Chris\\My Documents\\ubot\\Contests\\new2.csv", &Data) Chris Quote Link to post Share on other sites
LoWrIdErTJ - BotGuru 904 Posted November 14, 2011 Report Share Posted November 14, 2011 unfortunately you have to save the list to a file first, then add to table from file, then delete the file if you like that was saved. add list to table as column or row does not work properly and see the comma as the delimiter Quote Link to post Share on other sites
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.