John Salerno wrote: > Ant wrote: >> You are along the right lines. Try printing out the content of each URL >> - one of the pages will match your expression, but has additional >> instructions... I think you are reaching the end of their false trail >> when you get None returned from the url. > > But the weird thing is that when I tried the same script earlier in the > day, it went through about 200+ links before encountering a situation > that my script didn't handle. But now when I get this latest error that > I posted, it's only going through about 150 links before stopping. > >> The set of pages themselves are the linked list - each contains a >> reference to the next element in the sequence. You don't need one to >> solve the problem, the problem *is* the linked list! > > Interesting! That's good news, and I'm glad I didn't spend hours trying > to use one to solve it! :)
Ok, I'm confused. I ran the script again today (this time at work again) and it worked! I made no changes, so I'm not sure what the issue was. But thank god I'm passed this problem, although I'm sure it only gets worse now! -- http://mail.python.org/mailman/listinfo/python-list