what's going on here?

John Salerno johnjsal at NOSPAMgmail.com
Tue Apr 4 09:50:20 EDT 2006


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! :)



More information about the Python-list mailing list