JohnB 255 Posted July 18, 2010 Report Share Posted July 18, 2010 I know I am overlooking something simple here, but I am adding scraped data to a list inside a loop (it navigates to each url scraps the data and places it on the list). When the loop is done it saves the list to a file. When all the smoke clears I only have the last entry. each entry is over writing the last. What function have I missed here? NEVERMIND! MY DUMB BUTT HAS THE "CLEAR LIST" INSIDE THE LOOP!(What a JackA$$) Quote Link to post Share on other sites
MiriamMB 63 Posted July 18, 2010 Report Share Posted July 18, 2010 lol!! sometimes it's the little things that screw us over!! I know I am overlooking something simple here, but I am adding scraped data to a list inside a loop (it navigates to each url scraps the data and places it on the list). When the loop is done it saves the list to a file. When all the smoke clears I only have the last entry. each entry is over writing the last. What function have I missed here? NEVERMIND! MY DUMB BUTT HAS THE "CLEAR LIST" INSIDE THE LOOP!(What a JackA$$) 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.