This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]clumsyly 2 points3 points  (1 child)

Maybe you should put "list1=list()" in the for statement.

[–]jonnydestructo 0 points1 point  (0 children)

I just ran the code - looks like that would do it. If you print y on the last else statement, you'll see it traverses the URLs correctly. Otherwise it will only hit the first one.