Guest turbolapp Posted December 16, 2009 Report Share Posted December 16, 2009 I'm scraping a href from inside my email (a verifying email link) and in the text file it winds up in second position instead of first where there's a blank line. http://screencast.com/t/NDAzZGU0 Anyone know what's causing this? Quote Link to post Share on other sites
Aaron Nimocks 19 Posted December 16, 2009 Report Share Posted December 16, 2009 No idea without seeing your code. Im guessing your list clears first and that is the first item that gets inserted into the list. Quote Link to post Share on other sites
Guest turbolapp Posted December 17, 2009 Report Share Posted December 17, 2009 I don't know what you mean. I had clear list at the top of the script so I removed it and put it in another (connected script) and cleared it that way instead but I still have the same problem. Does it matter where you put "clear list" in the script? It's almost like it has something to do with line positions. Quote Link to post Share on other sites
msimurin 4 Posted December 20, 2009 Report Share Posted December 20, 2009 I don't know what you mean. I had clear list at the top of the script so I removed it and put it in another (connected script) and cleared it that way instead but I still have the same problem. Does it matter where you put "clear list" in the script? It's almost like it has something to do with line positions. Did you set list position to 1? Remember that it starts with 0,1,2,3,4 etc... Still i see no need to set list position to anything when creating new list since it starts with first place by default so just try to remove any set list positions Othr then that you might be adding something to list that has no value or seems blank to ubot and it just adds blank space, thats my guess. Quote Link to post Share on other sites
turbolapp 5 Posted December 21, 2009 Report Share Posted December 21, 2009 Did you set list position to 1? Remember that it starts with 0,1,2,3,4 etc... Still i see no need to set list position to anything when creating new list since it starts with first place by default so just try to remove any set list positions Othr then that you might be adding something to list that has no value or seems blank to ubot and it just adds blank space, thats my guess. Yeah I shouldn't have to set any list position when scraping content. It's possible that this was just something messed up with the way the href was displayed (although I didn't see anything wrong with it.) The way I got around it is when I went to pull the list I just started at position 1 so it skips the weird line. If it's just an anomaly then no biggie...I just thought it would be a headache if this kept occurring. 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.