GDotcom 1 Posted September 4, 2014 Report Share Posted September 4, 2014 I'm having an issue scraping the same element on each page to a table, each to it's respective cell, coming from different threads. It just seems to never happen. I've tried scraping it inside of a defined command with parameters. Even tried scraping to a local variable in a define command. Please advise. Thanks. Quote Link to post Share on other sites
HelloInsomnia 1103 Posted September 4, 2014 Report Share Posted September 4, 2014 You can gather all the data into a list first, each column of data separated by a character that would not show up normally. Then loop through the list and split each list item based on that character and adding it into a table that way. So each list item would look like this: Bobby|23|Male|Texas Tech|Psychology And later they can be split to go into their respective fields: Name - Age - Gender - School - Major Quote Link to post Share on other sites
GDotcom 1 Posted September 4, 2014 Author Report Share Posted September 4, 2014 Thanks for your reply. I'm testing that now. My issue is where in the script do I actually scrape the element so that it's local. From there I can save to a list. Quote Link to post Share on other sites
HelloInsomnia 1103 Posted September 4, 2014 Report Share Posted September 4, 2014 Thanks for your reply. I'm testing that now. My issue is where in the script do I actually scrape the element so that it's local. From there I can save to a list. Local variables are local to the define they are in so you can create a define and then run that inside of a thread. 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.