Home > database >  Python crawler, the loop terminates
Python crawler, the loop terminates

Time:09-22

Could you tell me how to cycle the don't know the specific pages, to stop when there is no data, I can't find what kind of conditions for him to stop, I tried many times, either don't cycle, it will also continue to cycle or even without data, returns an empty list, I'm too food, don't know exactly what to get, thank you for answering questions!!!!!

CodePudding user response:

Returns an empty list, it means no data, load more ", "should the button hidden,

Add a little judge things only, want to so much?

CodePudding user response:

reference 1/f, gypsy song response:
returns an empty list, it means no data, load more ", "should the button hidden,

Add a little judge things only, want to so much?

Say so many, that is the judgment does not add, may not be able to express clearly, alas ╯ man ╰
  • Related